Home

Awesome

<p align="center"> <img src="https://raw.githubusercontent.com/brenopolanski/phaser-es6-starter/gh-assets/phaser-es6-starter.png"> </p>

div

<br />

Phaser ES6 Webpack ESLint Yarn PWA

A template for writing Phaser Games based on ECMAScript 2015 (ES6) + Webpack + Progressive Web Apps for rapid game development.

Invite me to a coffee donate-paypal

Getting Started

Installation

First of all, install the dependencies to run this boilerplate.

# Clone this repository
$ git clone git@github.com:brenopolanski/phaser-es6-starter.git my-game
$ cd my-game

# install dependencies
$ yarn (or npm i)
# run game
$ yarn start (or npm start)

Game Demo

game-demo

Check it live or see the tutorial: Advanced Phaser and TypeScript Projects by Richard Davey at www.photonstorm.com.

:heart: Found this project useful?

If you found this project useful, then please consider giving it a :star: on Github and sharing it with your friends via social media.

Scripts

Tasks

Editor Configuration

Atom

apm install editorconfig es6-javascript atom-ternjs javascript-snippets linter linter-eslint language-babel autocomplete-modules file-icons

VSCode

Sublime

Others

Technologies

Phaser ES6 Starter offers a rich development experience using the following technologies:

TechDescriptionLearn More
PhaserA fast, fun and free open source HTML5 game framework.Learn Phaser
BabelCompiles ES6 to ES5. Enjoy the new version of JavaScript today.ES6 REPL, ES6 vs ES5, ES6 Katas
WebpackBundles npm packages and our JS into a single file. Includes hot reloading via react-transform-hmr.Quick Webpack How-to
BrowsersyncLightweight development HTTP server that supports synchronized testing and debugging on multiple devices.Intro vid
ESLintLint JS. Reports syntax and style issues. Using eslint-plugin-react for additional React specific linting rules.
PostCSSTransform styles with JS plugins. Used to autoprefix CSS
Stats.jsFor displaying FPS/MS.
Editor ConfigEnforce consistent editor settings (spaces vs tabs, etc).IDE Plugins
npm ScriptsGlues all this together in a handy automated build.Why not Gulp?

Contributing

If you want to help, please read the Contributing guide.

History

For detailed changelog, see Releases.

Credits

Phaser is a free and open source software developed and owned by Richard Davey at www.photonstorm.com. You can visit their funding page and help them to make Phaser even better.

Donations

Donations would be more than welcome :)

donate-paypal

License

MIT License © Breno Polanski