/phaser3-typescript-template

A template for Phaser 3 and Typescript.

Primary LanguageJavaScriptMIT LicenseMIT

Phaser 3 Typescript Template

A template for phaser 3 games written in typescript. Uses webpack to bundle files.

Commands

Command Description
npm install install project dependencies
npm start build project, open web server and watch for file changes
npm build build code bundle with production settings

Using this template

After cloning this repo, run npm install in the project's root to install the project dependencies. Then run npm start to build the project. This will open the project on a local server (default is 8090). After that any changes to the ./src file will reload the project.

npm build will build your code into a bundle located at dist.