README
Generator for simple phaser starter project.
Installation
First, install Yeoman and generator-fire-phaser using npm (this assumes you have pre-installed node.js).
npm install -g yo
npm install -g generator-fire-phaser
Or for yarn:
yarn glbal add yo
yarn global add generator-fire-phaser
Then generate your new project on the command line in your current directory:
yo fire-phaser
Or to create a directory and do it:
Generated Code
The code generated by this generator includes a very simple webpack configuration to allow development with es6 and some sample code from the Making Your First Game Tutorial on the phaser website.
Working locally
To make changes to this code locally and be able to test them you need to link the local code to yeoman can pick it up.
The following should be done within the source directory.
If you use npm:
npm link
Or yarn:
yarn link
Whne your done, if you want ot use the published version again make sure to unlink.
npm unlink
Or
yarn unlink
Yeoman
- Feel free to learn more about Yeoman.
License
unlicense © Ruairi O'Brien