nederhoed / unicorn-shmup-game

Fun math trainer using Phaser3
0 stars 0 forks source link

unicorn-shmup-game

Fun math trainer using Phaser3, ES6 and Webpack.

Setup

Environment

Requires node.js and npm to be installed: https://nodejs.org/en/

Download repo

From your workspace directory run:

git clone https://github.com/jedhastwell/phaser3-es6-webpack-boilerplate.git

Install Dependencies

From the project directory run:

npm install

Usage

Development Server

Starts a development server that will automatically refresh the page as you make changes. Once started, navigate to http://localhost:8080 in your browser.

To start the server run:

npm run start

Distribution

Bundles and minimises scripts and outputs them along with a copy of the assets/ folder to output directory dist/.

To build for distribution run:

npm run build

Credits