A Phaser 3 Project Template
We need Node.js to install and run scripts.
Run next commands in your terminal:
Command | Description |
---|---|
npm install |
Install dependencies and launch browser with examples. |
npm start |
Launch browser to show the examples. Press Ctrl + c to kill http-server process. |
After running npm start
visit: http://localhost:8000 in your browser. Your project is running here!
Add your project files to the src directory. Only files in this directory will included in the project build!
Updating and saving files in this folder will automatically rebuild the project and reload the project in the browser!
You must keep all of the file assets in the assets folder. This inlcudes images, audio and other data your project may load.