Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# Phaser 3 Typescript Template

Version: 0.8.5
Status: Maintained
Contribution: Open
Phaser: 3.24.1

## 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)