Talk on HTML 5 game development using Phaser.
- View the slides online
- View the snippets and demo game
Images for the examples are made by Kenney and have been released under a CC0 license.
Slide deck generated with generator-simple-bespoke.
You need to run a local server that can serve the src/examples
directory statically.
With Python:
cd src/examples
python -m SimpleHTTPServer
With Node's http-server
:
npm install -g http-server
http-server src/examples
- Gulp client
npm install -g gulp
Download or clone the repository, then install dependencies:
npm install
To build the project in a dist
folder:
gulp dist
To start development mode, with automatic asset rebuilding and browser reloading:
gulp dev
To deploy to Github pages:
gulp deploy