Phaser 3 boilerplate for game development using Typescript and Webpack.
$ git clone --depth=1 https://github.com/RynoRn/phaser-game-template.git <your-game-project>
$ cd <your-game-project>
$ npm i
npm run dev
: start the Webpack Dev Server in watch mode (target:src
) and open the browsernpm run lint
: runtslint
on the codebase using the rules specificed intslint.json
npm run build
: compile and minify the source making it ready for deploynpm run typings:update
: update the typings definition for Phaser
Phaser's type definitions are included in this repository since they are not available via npm
yet.
Inspired by:
- https://github.com/gvinaccia/phaser-starter
- https://github.com/justweb/ts-template
- https://github.com/troyedwardsjr/phaser3-typescript-webpack
Sound effects: