This is small shoot'em up demo game to show how you can build a phaser game with the next generation of javascript (ES6/2015).
You can also use this as a boilerplate.
The project is based on Node.js, if you are not familiar with it I'd suggest to check it out first. If you are familiar just have a look at package.json and gulp tasks in tasks folder. If you are familiar and lazy just run:
npm i && npm run dev
To build production:
npm run build
To try it out now click here
Source files are in src folder
Gulp task are in tasks folder as separate files in dev and prod folders. There are some redundancy but in this way it is very easy to maintain, scale and copy tasks from one project to another.
Development and production builds are going to builds folder.
In production mode (dev mode is nearly just copying files into builds/dev)
- optimizing images
- minifying html, js and json
- file revisioning to prevent browser cache
Here you can find links about the images and audio I used.
Spaceship and UFO
http://millionthvector.blogspot.com.es/p/free-sprites.html
Background
Menu
http://opengameart.org/content/some-small-themes
Play
http://opengameart.org/content/railjet-long-seamless-loop
Sounds
http://opengameart.org/content/collection-gun-sounds
http://opengameart.org/content/space-battle-game-sounds-astromenace
http://opengameart.org/content/sci-fi-sound-effects-library
Copyright © 2016 Csaba Tuncsik [email protected]
This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See WTFPL for more details.