Phaser 3 template for top-down-style game
Credits:
TS Starter: https://github.com/geocine/phaser3-rollup-typescript
Sprites: https://limezu.itch.io/moderninteriors
Map: https://medium.com/@michaelwesthadley
Command | Description |
---|---|
yarn install |
Install project dependencies |
yarn dev |
Builds project and open web server, watching for changes |
yarn build |
Builds code bundle with production settings |
yarn serve |
Run a web server to serve built code bundle |
After cloning the repo, run yarn install
from your project directory. Then, you can start the local development
server by running yarn dev
and navigate to http://localhost:3000.
After running yarn build
, the files you need for production will be on the dist
folder. To test code on your dist
folder, run yarn serve
and navigate to http://localhost:5000