A Yeoman generator to generate HTML5 games with phaser.
INSTRUCTIONS
-
Install Node.js
-
Install the required npm modules by issuing these commands:
npm install -g yo generator-phaser
-
Create a new directory for your game:
- Unix/OSX :
mkdir ~/Desktop/mygame && cd $_
- Windows :
mkdir %USERPROFILE%\Desktop\mygame && cd %USERPROFILE%\Desktop\mygame
- Unix/OSX :
-
Invoke the generator:
yo phaser
-
Run a local development server (livereload enabled) with this command:
npm start
-
Package your game (i.e. minify css, html and js) with:
npm run build
CREDITS