Skip to content

Phaser 3 boilerplate for game development using Typescript and Webpack.

Notifications You must be signed in to change notification settings

laszlo-horvath/phaser3-boilerplate-typescript

Repository files navigation

Phaser 3 Boilerplate

Phaser 3 boilerplate for game development using Typescript and Webpack.

Install

$ git clone --depth=1 https://github.com/RynoRn/phaser-game-template.git <your-game-project>
$ cd <your-game-project>
$ npm i

Usage

  • npm run dev: start the Webpack Dev Server in watch mode (target: src) and open the browser
  • npm run lint: run tslint on the codebase using the rules specificed in tslint.json
  • npm run build: compile and minify the source making it ready for deploy
  • npm run typings:update: update the typings definition for Phaser

Phaser 3 typings definitions

Phaser's type definitions are included in this repository since they are not available via npm yet.

Credits

Inspired by:

Sound effects: