hexigua
hexigua copied to clipboard
phaser3 实现合西瓜小游戏
Phaser 3 TypeScript Project Template
demo
Available Commands
Command | Description |
---|---|
npm install |
Install project dependencies |
npm run watch |
Build project and open web server running project, watching for changes |
npm run dev |
Builds project and open web server, but do not watch for changes |
npm run build |
Builds code bundle with production settings (minification, no source maps, etc..) |
Writing Code
After cloning the repo, run npm install
from your project directory. Then, you can start the local development
server by running npm run watch
. The first time you run this you should see the following demo run: