generator-phaser-mobile

0.0.8 • Public • Published

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
  • 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

    • See Denis' shell & debug tasks in Gruntfile.coffee for Tizen devices in previous releases/commits.
    • Add Grunt task for CocoonJS.
    • Add Grunt task for Ejecta (will it blend)?
  • 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

Readme

Keywords

none

Package Sidebar

Install

npm i generator-phaser-mobile

Weekly Downloads

0

Version

0.0.8

License

none

Last publish

Collaborators

  • udisun