Skip to content

wtravO/phaser3-typescript-template

Repository files navigation

Phaser 3 TypeScript/Webpack Project Template

A Phaser 3 TypeScript Template

Modeled after Phaser 3 Project Template

Requirements

We need Node.js to install and run scripts.

Install and run

Run next commands in your terminal:

Command Description
npm install Install dependencies and launch browser with examples.
npm run build:dev Builds a unminified copy of your game, with source maps, for debugging purposes.
npm run build:prod Builds a minified copy of your game without source maps for production use.
npm start Launch browser of choice and navigate to http://localhost:8080/.
Press Ctrl + C in NodeJS terminal to kill webpack-dev-server process.
=======