Need help with phaser-es6-demo?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

cstuncsik
123 Stars 31 Forks 11 Commits 1 Opened issues

Description

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)

Services available

!
?

Need anything else?

Contributors list

# 394,861
HTML
JavaScr...
11 commits

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.