Home

Awesome

Brunch with Phaser 3 (CoffeeScript)

A Brunch skeleton for making games with Phaser 3 and CoffeeScript. (Why Brunch?)

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

This is the CoffeeScript variant of brunch-phaser.

Get started

Phaser

Phaser is managed through npm.

npm ls --production

Update with:

npm update

Other builds

See the npm.static entry in brunch-config.

Add NPM packages

npm install -S <package-name>

and in your code:

require 'package-name'

Add other libraries

Add the unminified script to vendor.

Plugins

# List
npm list --dev --depth=0

# Add (http://brunch.io/plugins)
npm install -D plugin-name

Settings