A quick and easy set-up guide for Phaser and ES6

Article by Richard Davey. Posted on 31st Jul 2015.   @phaser_


From the Phaser Forums: "I've created a tiny boilerplate available on Github. The aim of the project is to help other developers to get started a little bit faster without having to spend too much time setting up Build tasks (basically setting up the transpiler).

The project comes with:

  • A heavily commented gulpfile that uses Browserify and Babel to transpile your ES6 code into ES5.
  • Two build modes: development and production (neither one is too complex or opinionated).
  • Browsersync for live reload and weinre for your mobile debugging needs.
  • UglifyJS for the production build. No sitelock or heavy obfuscation code included.

Read More