/FJCLP

Frère Jean contre les Picrocholiens voleurs de raisin

Primary LanguageTypeScript

Frère Jean contre les Picrocholiens voleurs de raisin

Waffle.io - Columns and their card count

Brunch with Phaser 3 (TypeScript)

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

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

Get started

  • Install (if you don't have them):
  • Run:
    • brunch new <project> -s samme/brunch-phaser-typescript
    • 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.
  • Make:
    • Write your code in app.
    • Put game assets in assets.

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 then import as appropriate in your code.

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