- Download this repo
- Install all your dependencies by run
npm install - Run your dev server by
npm run dev - Make changes under
LoadingSceneController.tsif you want to load some assets - Make changes under
GameplaySceneController.tsfor your main gameplay script - Make changes under
src/index.tsif you want to add new scene
In package.json file and section scripts listed handy commands to help your development process. You can add more if needed.
| script | details |
|---|---|
npm run dev |
Start your development server in port 8080 (if available), also notice that folder src/assets is served as public static folder |
npm run build |
Build your project into dist/ folder |
npm run dist |
Run static server from your dist/ folder |
For update eslint rules