https://github.com/pixelpicosean/phaser3-template
A very basic webpack based Phaser 3 template
https://github.com/pixelpicosean/phaser3-template
boilerplate live-reload phaser3 webpack
Last synced: 8 months ago
JSON representation
A very basic webpack based Phaser 3 template
- Host: GitHub
- URL: https://github.com/pixelpicosean/phaser3-template
- Owner: pixelpicosean
- License: mit
- Created: 2018-03-02T02:55:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-21T22:20:36.000Z (over 7 years ago)
- Last Synced: 2025-01-31T20:44:02.569Z (over 1 year ago)
- Topics: boilerplate, live-reload, phaser3, webpack
- Language: JavaScript
- Size: 698 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phaser 3 template (ES5)
Very basic template project for game development with Phaser 3.
## Feature
- dev server with live-reload
- build
- webpack
- `SHOW_ALL` and `RESIZE` scale mode
- simple preloader scene
## How to run
### Using yarn
- Prepare: `yarn install`
- Development: `yarn start`
- Build: `yarn build`
### Using NPM
- Prepare: `npm install`
- Development: `npm run start`
- Build: `npm run build`
## Folders
- assets: raw assets, you can put images and texture packer files here, export atlas to `media` folder
+ tex: textures should be placed here, which will be included
in the `tex.tps` atlas
- media: image, atlas, sound and whatever you need to ship with the final game
- src: source code locates here, `main.js` is the entry