项目作者: cloakedninjas

项目描述 :
Phaser 3 boilerplate with Typescript
高级语言: TypeScript
项目地址: git://github.com/cloakedninjas/phaser3-typescript-boilerplate.git


Phaser 3 Typescript Boilerplate

Provides the following, to enable faster development of new Phaser projects:

  • Phaser 3.70
  • Typescript 5
  • Webpack 5

Included are 3 scenes:

  • Boot (for minimal file loading for files needed in Preload)
  • Preload contains a bespoke driven by the manifest.json
  • Game primary game scene

Installation

npm install

Scripts

  • npm start

Build files, run the webpack dev-server - available at localhost:8080

  • npm run build

Build the production version and output files to dist

  • npm run lint

Lint the codebase using ESLint