π΄ Starter of Phaser.js (simple game).
Use ECMAScript 2016 syntax.
https://piecioshka.github.io/boilerplate-phaser-game/
- β Phaser v2.6.2
- β Webpack v2.2.1
- β 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 - β
Simple structure for app:
constants/,models/,states/ - β Example map (build in Tiled app)
- β
Static directory:
public/ - β Maximum 80 characters per line in each file!
npm install # install dependencies
npm run build # build distribution files in public/dist/npm run typings # support syntax highlighters
npm run watch # run Webpack to listen of file modificationsnpm run clear # remove all generated filesThe MIT License @ 2016
