rbrochot / PhaserGulpBoilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhaserGulpBoilerplate

Small Asteroid game. Serves as a Phaser boilerplate with gulp and some useful modules like:

  • babel for ES2016
  • browsersync

Thanks and credits:

==================

BUILD OBJECTIVES

==================

  • generic index.html with all JS (src + libs) and CSS dynamicaly injected
  • prod: 2 files: app.js & lib.js, all in a zip, and src-maps aside
  • prod: ideally, keep libs as independent files (and get from CDN if possible)
  • dev: same with srcmap included? or independent files? => more like independent files, should be quicker to build
  • dev: watcher thats only compiles what's changed

=========

TODO

=========

GAME

========

  • dependency injection for "services": keyboard, factories, shared emitters (and maybe not shared, via not singleton dependency injection), etc. => no DI, just shared objects (DI would be such a mess with states management)
  • Simple menu (start, game over)
  • Use Phaser.Weapon?
  • Sounds

BUILD

========

About

License:MIT License


Languages

Language:JavaScript 94.4%Language:HTML 4.5%Language:CSS 1.1%