Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reydvires/phaser3-typescript
Phaser 3 Typescript with Webpack
https://github.com/reydvires/phaser3-typescript
Last synced: about 5 hours ago
JSON representation
Phaser 3 Typescript with Webpack
- Host: GitHub
- URL: https://github.com/reydvires/phaser3-typescript
- Owner: ReydVires
- Created: 2020-12-15T05:29:08.000Z (almost 4 years ago)
- Default Branch: develop
- Last Pushed: 2021-03-11T00:35:24.000Z (over 3 years ago)
- Last Synced: 2023-03-08T08:17:14.774Z (over 1 year ago)
- Language: TypeScript
- Size: 2.28 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phaser 3 Typescript Template
## Quickstart
1. Download this repo
2. Install all your dependencies by run `npm install`
3. Run your dev server by `npm run dev`
4. Make changes under `LoadingSceneController.ts` if you want to load some assets
5. Make changes under `GameplaySceneController.ts` for your main gameplay script
6. Make changes under `src/index.ts` if you want to add new scene## CLI
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## ESlint
For update [eslint rules](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin/docs/rules)