Generator for simple phaser starter project.
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-phaserOr for yarn:
yarn glbal add yo
yarn global add generator-fire-phaserThen generate your new project on the command line in your current directory:
yo fire-phaserOr to create a directory and do it:
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.
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 linkOr yarn:
yarn linkWhne your done, if you want ot use the published version again make sure to unlink.
npm unlinkOr
yarn unlink- Feel free to learn more about Yeoman.
unlicense © Ruairi O'Brien