Go to file
James Skemp ce2b78c915 Update saving to compress data 2018-09-23 14:48:18 -05:00
src Update saving to compress data 2018-09-23 14:48:18 -05:00
.editorconfig Add new editorconfig 2018-09-02 09:42:55 -05:00
.gitignore Update build process to deploy to public instead of dist 2018-09-13 08:06:03 -05:00
.gitlab-ci.yml Add attempt to configure GitLab CI for GitLab Pages 2018-09-13 08:12:39 -05:00
README.md Remove larger pieces of Gulp from project 2018-09-13 08:58:11 -05:00
package-lock.json Update saving to compress data 2018-09-23 14:48:18 -05:00
package.json Update saving to compress data 2018-09-23 14:48:18 -05:00
phaser.d.ts Start new project from Phaser 3 starter project 2018-08-30 17:20:29 -05:00
tsconfig.json Add support for sourcemaps 2018-09-11 08:37:53 -05:00
tslint.json Fix additional tslint issues 2018-09-02 12:17:51 -05:00
webpack.config.js Update build process to deploy to public instead of dist 2018-09-13 08:06:03 -05:00

README.md

Phaser Battle INF

This project is an attempt to recreate the basics of Battle INF, but with Phaser for the interface.

This is based upon the Starter Project for Phaser 3 with Visual Studio Code, TypeScript, and NodeJS.

How to Build the Site

To build this project you'll need Node.js installed.

Next run npm install in the root directory to install the various dependencies.

Run npm run build-dev or npm run build (for production) to populate the public directory with the final site contents.

If you'd like to run a simple web server, install http-server via npm install http-server -g, which can then be run from the public directory by running http-server.

Upgrading Phaser

To upgrade Phaser 3 run npm upgrade phaser (passing --save if you wish to update the package.json).

Phaser TypeScript definitions can currently be found at https://github.com/photonstorm/phaser3-docs/tree/master/typescript