Phaser Snippets

Phaser Snippets

Note: For a more updated version of these snippets please click here.

Phaser is an open source HTML5 game framework, that allows us to make desktop and mobile browser games.
I tried to find an editor that would allow me to program with Phaser using autocomplete, the same way that FlashDevelop had.
This saved me a lot of time! Unfortunately, I couldn’t find one up to my standards. The next best thing was to set up some Phaser Snippets to copy and paste.

Here is my collection of Snippets to help speed up production of your code. I hope you find it useful.

Phaser Snippets work really well with my Phaser Templates!

If you want anything added for copy and paste, please don’t hesitate to ask. Just use the contact link at the top of this page.

Starter snippets
Sprite snippets
Text snippets
Button snippets
Tween snippets
Miscellaneous Snippets

Sound Snippets

 

Game Snippets

 

MVC Snippets