Phaser 3 Boilerplate with Utilities.
Phaser is a wonderful, fast and free open source HTML5 game framework. Here you will find everything you need to develop games with Phaser 3 in TypeScript. Have fun discovering, developing and playing! Ideas and corrections are highly desirable to constantly improve this repository!
Download and install npm with Node.js @ https://nodejs.org/en
Select a folder, navigate to it, and clone this repository with this command-line:
git clone https://github.com/digitsensitive/phaser3-typescript.git
Install the dependencies with this command-line:
npm install
Perform a quick build (bundle.js) and start server:
npm start
- Phaser 3 Framework
- Phaser 3 Docs with TypeScript Definition File
- Phaser 3 Online Docs
- Phaser 3 Official Examples
- Phaser 3 Discourse
The following Compiler Options
have been set in the tsconfig.json
file:
Option | Value |
---|---|
target | ES2016 |
module | CommonJS |
sourceMap | true |
noImplicitAny | true [WIP] |
strict | true [WIP] |
You can see the complete list of the available options at here. Interesting read about setting up a nodejs-project.
This project is licensed under the MIT License - see the LICENSE.md file for details.