Phaser Example With Baddies

Phaser Example With Baddies

Phaser offers some great tutorials and hopefully you’ve had success working through the ‘making your first game’ tutorial series:
https://phaser.io/tutorials/making-your-first-phaser-game

This is a great way to learn the basics.

phaser example

If you have downloaded the example from the phaser website you will notice that there are some extra assets included with the source code.  We have implemented these in order to create our own version.

phaser example baddies

We’ve turned things up by including the following additions:

  • Sound effects
  • optional full screen support
  • Optional game pad support
  • A moving and killable enemy
  • Life indicator
  • Improved physics

oh and we made the good guy the bad guy and the bad guy the good guy! Just like terminator 2…

terminator2

Phaser Example With Baddies

This is not a very polished demo but demonstrates several important principles that you can use in your own projects.

You can check out the source code in the link below. This is a download link to the fullĀ  zip file.

Download Phaser Example With Baddies from FileFactory

Experiment with the code and tweak it to create the next masterpiece, we can’t wait to see what you come up with!

Enjoy

Leave a Reply

Your email address will not be published. Required fields are marked *