HTML5 skeleton for your game jams
| Tags: front-end game development
This is a by-product of my last Ludum Dare. I decided to take out the initial project skeleton I created for the jam so I could re-use it in future events. I released it in the form of a Yeoman generator: meet generator-gamejam.
What it provides?
- An starter "Hello World" game, with a preloader, ready to be executed or deployed.
- Phaser framework for HTML5 games.
- Browserify for managing dependencies and using Node modules.
- Gulp tasks for building and automation.
You just need to globally install Yeoman and this generator:
npm install -g yo generator-gamejam
Now create a new directory for your game and run the generator from them:
mkdir awesome-game
cd awesome-game
yo gamejam
You will be asked a few questions, such as the title for the game or your Github username. After that, you will get your starter skeleton, ready to go:
gulp --watch
Have fun!