Skip to content

Quick-start project template combines Phaser 3, TypeScript and webpack

License

Notifications You must be signed in to change notification settings

jucasoft/phaser3-typescript-webpack-project-template

Repository files navigation

Phaser 3 TypeScript webpack Project Template

This quick-start project template combines Phaser 3 with TypeScript and uses webpack for bundling.

Requirements

Node.js is required to install dependencies and run scripts via npm.

Available Commands

Command Description
npm install Install project dependencies
npm run start Build project and open web server running project, watching for changes
npm run build Builds code bundle with production settings (minification, no source maps, etc..)

Writing Code

After cloning the repo, run npm install from your project directory. Then, you can start the local development server by running npm run watch. The first time you run this you should see the following demo run:

Screenshot

After starting the development server with npm run start, you can edit any files in the src folder and webpack will automatically recompile and reload your server (available at http://localhost:8080 by default).

About

Quick-start project template combines Phaser 3, TypeScript and webpack

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published