phaser-cli icon indicating copy to clipboard operation
phaser-cli copied to clipboard

Make the game boilerplate more detailed

Open nerdenough opened this issue 7 years ago • 1 comments

Currently the boilerplate consists of a couple of scenes and shows the Phaser logo. It would be cool if the boilerplate provided a more complete game example.

nerdenough avatar Mar 30 '18 21:03 nerdenough

I made this (incomplete) game as part of a presentation on Phaser 3: http://msanatan.com/red-vs-blue/. If I complete the game i.e. make the opponent shoot back and have a "You Lose" message, would that suffice?

Personally I like the blank state, could a non-game option be added? E.g. phaser create appname --blank.

If possible, for certain demos and mini games my Phaser code is simply a file and 3 functions: preload, create and update. Could we add a one page option to the create function? E.g. phaser create appname --single. It would load the same game but all contained in the main.js file. And maybe phaser create appname --blank --single to have a main.js without the game logic.

msanatan avatar Jun 23 '18 07:06 msanatan