https://github.com/enable3d/enable3d-phaser-project-template
https://github.com/enable3d/enable3d-phaser-project-template
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/enable3d/enable3d-phaser-project-template
- Owner: enable3d
- License: mit
- Created: 2020-02-16T19:17:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-08T12:33:13.000Z (over 1 year ago)
- Last Synced: 2025-03-08T13:30:42.898Z (over 1 year ago)
- Language: TypeScript
- Size: 2.6 MB
- Stars: 47
- Watchers: 2
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Phaser 3 + enable3d
## About
This is a clone of the popular [phaser-project-template](https://github.com/yandeu/phaser-project-template), which includes the latest enable3d.io version.
## How to use
```console
# 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](./tsconfig.json)
- Change the extension of all game files in [/src/scripts](./src/scripts) from `.ts` to `.js` (except `game.ts`).