🍴 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 modifications
npm run clear # remove all generated files
The MIT License @ 2016