Phaser

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

There are some extra assets included with the source code for this tutorial and we've implemented these in order to create our own version.  We've really turned things up by including the following additions

sound effects
optional full screen support
Optional game pad support
A 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...

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 below and tweak it to create the masterpiece.

Enjoy

CODE SNIPPET