Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.
/ brunch-phaser-es6 Public archive

A Brunch skeleton for making games with Phaser 3 and ES6

Notifications You must be signed in to change notification settings

samme/brunch-phaser-es6

Repository files navigation

Brunch with Phaser 3 (ES6)

A Brunch skeleton for making games with Phaser 3 and ES6/ES2016. (Why Brunch?)

brunch new <project> -s samme/brunch-phaser-es6

This is the ES6 variant of brunch-phaser.

Get started

  • Install (if you don't have them):
  • Run:
    • brunch new <project> -s samme/brunch-phaser-es6
    • npm run start or brunch watch --server watches the project with continuous rebuild.
    • npm run build or brunch build --production builds a minified project for production.
    • troubleshooting
  • Make:
    • Write your code in app.
    • Put game assets in assets.

Phaser

Phaser is managed through npm.

npm view phaser version

Update with:

npm update

Other builds

See the npm.static entry in brunch-config.

Add NPM packages

npm install -S <package-name>

and then import as appropriate in your code.

If these packages should be transpiled from ES6 as well, remove or modify plugins.babel.ignore in brunch-config.

Settings

About

A Brunch skeleton for making games with Phaser 3 and ES6

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published