How the Bullet class was created in the game A Modest Platformer.

Article by Richard Davey. Posted on 21st Apr 2016.   @phaser_


"A Modest Platformer update so soon? Yep. After posting the last entry, I spent the rest of the day working on getting a number of stuff I mentioned in the previous entry implemented – specifically bullets, and enemy AI.

Maxim – the name of our hero from A Modest Destiny – is now able to shoot projectiles. Right now, yes, they’re just 8 x 8 red squares, but they get the job done. I used this Drop Wizard tutorial as reference and adapted it to my needs.

I created a Bullet class and modified the Slimes to extend Phaser.Sprite. For the next iteration, I will be converting the Player and Platforms as well."

Read More