Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 871 Bytes

File metadata and controls

36 lines (25 loc) · 871 Bytes


Phaser 3 + enable3d

About

This is a clone of the popular phaser-project-template, which includes the latest enable3d.io version.

How to use

# Clone this repository
$ git clone --depth 1 https://github.com/enable3d/enable3d-phaser-project-template.git enable3d-game

# Go into the repository
$ cd enable3d-game

# Install dependencies
$ npm install

# Start the local development server (on port 8080)
$ npm start

# Ready for production?
# Build the production ready code to the /dist folder
$ npm run build

JavaScript

You want to use JavaScript instead of TypeScript?

  • Add "checkJs": false, to tsconfig.json
  • Change the extension of all game files in /src/scripts from .ts to .js (except game.ts).