Learning Phaser with a fun little JS game!

Learning Phaser with a fun little JS game!

3 devlogs
5h 8m
•  Ship certified
Created by mole rat

I've always wanted to learn how to make games with Javascript, because it's so much easier to play games if they're in your browser!

Timeline

Earned sticker

I added some challenge! When you've eaten all the sushis, a little clump of wasabi spawns which you have to dodge of course. The sushi also respawns, and if you eat it all again another wasabi appears. This wasn't my idea, it was what they did in the tutorial, but I made sure to write the code myself so I understood it.

Update attachment

Ship 1

1 payout of shell 28.0 shells

mole rat

about 1 year ago

mole rat • Covers 2 devlogs and 2h 56m
Earned sticker

I've drawn my little kitty and the little sushis (this is just temporary art dw) and spawned them in with various methods. There's also a very simple actually if statement for player movement, and checking collision with the sushis, and adding points and rendering text :3 Surprisingly there was no need to raycast or anything to check if the player can jump, the line is literally this.player.body.touching.down :)

I'm gonna start with a Phaser tutorial, fortunately there's this one called Making your first Phaser 3 game. Perfect. To start with I've drawn a background and some platforms and spawned them in with some Phaser functions!

Update attachment