A Phaser project boilerplate with some built-in functionality.
A Phaser project boilerplate using Node, some assets loading automation, and dynamic screen resolution settings.
git clone [this repo address]
)npm install
)BOILERPLATE
project name on index.html
and package.json
.boot.js
state.jsonfy.py
; it gets everything under the assets/
folder on a .json
file-tree structure, and the preloader.js
state gets this json to load everything without the need of manually loading each and every file. The default boilerplate only loads .png
(you can load spritesheets by naming them “spritesheet”; check preloader.js
for more information), but you can easily add more extensions changing the source.npm start
!