brlebtag / phaser-webpack-ts-boilerplate

Phaser 3 Webpack 5 setup and TypeScript boilerplate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phaser 3 Webpack 5 Boilerplate

Get up and running with Phaser 3 using TypeScript or JavaScript ES6.

This Webpack setup takes care of your code bundling and local development server.

Included are some handy class files, extending Phaser 3's Scene and Sprite base classes.

View the demo

Mario

Installation

Ensure you have Node.js installed.

Clone this repo and cd to project directory.

npm i

Tasks

Run the development server to preview locally at http://localhost:8080/.

npm start

Create a production build.

npm run build

About

Phaser 3 Webpack 5 setup and TypeScript boilerplate.


Languages

Language:TypeScript 82.6%Language:JavaScript 15.6%Language:HTML 1.8%