My Phaser.io template / starter project.
It features:
- Phaser 3
- Babel
- Webpack 5
- Standard JS
- Hashed filenames for nice caching
- A loading screen
- An object oriented demo (but nothing is enforced)
$ git clone https://github.com/Oli4242/phaser-starter
$ cd phaser-starter
$ npm install
Command | Description |
---|---|
npm start |
Alias for npm run serve |
npm run serve |
Starts the development server |
npm run build |
Builds the game |
npm test |
Runs StandardJs |
npm run serve:prod |
Serves the production version |
npm run build:dev |
Builds the development version |