cstuncsik / phaser-es6-demo

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)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phaser ES6 Demo

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.

Technology

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

Structure

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.

Features

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

Assets

Here you can find links about the images and audio I used.

Sprites & Background

Spaceship and UFO

http://millionthvector.blogspot.com.es/p/free-sprites.html

Background

http://gamedevelopment.tutsplus.com/articles/enjoy-these-totally-free-space-based-shoot-em-up-sprites--gamedev-2368

Sounds & Music

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

License

Copyright © 2016 Csaba Tuncsik csaba.tuncsik@gmail.com

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 WTFPL icon for more details.

About

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)


Languages

Language:JavaScript 98.6%Language:HTML 1.4%