A Phaser 3 Project Template
We need Node.js to install and run scripts.
Run next commands in your terminal:
Command | Description |
---|---|
yarn install or npm install |
Install dependencies. |
yarn start or npm run start |
Launch webserver. View on http:77localhost:8080 Press Ctrl + c to kill http-server process. |
======= |
- Diplaying time and delta: http://labs.phaser.io/view.html?src=src/timestep\world%20time.js
- Using the registry for data: http://labs.phaser.io/view.html?src=src/scenes\registry%20data%20exchange%20es6.js
- Passing data between scenes: http://labs.phaser.io/view.html?src=src%5Cscenes%5Cpassing%20data%20to%20a%20scene.js&v=dev
- Collision with matter physics engine: http://labs.phaser.io/view.html?src=src/game%20objects/tilemap/collision/matter%20detect%20collision%20with%20tile.js&v=3.15.1