generator-phaser-mobile
v0.0.8
Published
A Yeoman generator to generate HTML5 games with phaser.js that are fully compatible with mobile full screen mode
Downloads
6
Readme
generator-phaser-mobile
A Yeoman generator to generate HTML5 games with [phaser] that are fully compatible with mobile full screen mode(http://phaser.io/).
INSTRUCTIONS
Install Node.js
Install the required npm modules by issuing these commands:
npm install -g yo generator-phaser-mobile
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-mobile
Run a local development server (livereload enabled) with this command:
grunt
Package your game (i.e. minify css, html and js) with:
grunt dist
TODO
- Add Grunt tasks for "mobile" deployment
- Think about a task to update Phaser
- bower or git submodule? (Phaser repo is quite big)
- grunt-curl? (grab raw phaser.js file from github ...)
CREDITS
@photonstorm for creating phaser.
The guys behind yeoman.