Skip to content

Petah/ggj2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. The latest release is installed when you create a new project.

npm view phaser version

Update with:

npm update

Other builds

See the npm.static entry in brunch-config.

Typescript

Phaser 3's definitions are still evolving, and there may be errors.

Add packages

npm install -S <package-name>

and then import as appropriate in your code.

Configuration

About

Warpath - Global Game Jam 2019 Entry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published