A comprehensive Phaser + ES6 + Webpack2 package to get you developing quicker than ever before.

Article by Richard Davey. Posted on 2nd Dec 2016.   @photonstorm

image

There are a massive amount of Phaser boilerplates out there, but this one is extensive to say the least:

  • Phaser v2.6.2
  • Webpack v2.1.0-beta
  • Babel (ECMAScript 2015 + ECMAScript 2016 + Stage 0 of ECMAScript 2017)
  • super-event-emitter v4.1.4 as event management
  • Typings (Phaser, super-event-emitter) for syntax highlighters
  • Task for count line of code (LOC)
  • Simple structure for app: constants/, models/, states/
  • Put example map (build in Tiled)
  • Static directory: public/

It even includes a small sample game. If you're after a boilerplate to get your games started quicker, and want to work in webpack and ES6, this is a great place to start.

Read More