Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/andremalveira/vite-phaser3-example

Template example for creating phaser 3 game using vite and typescript
https://github.com/andremalveira/vite-phaser3-example

phaser phaser3 phaser3-example phaser3-typescript phaser3-vite phaser3-vite-example phaser3-vite-typescript

Last synced: 10 days ago
JSON representation

Template example for creating phaser 3 game using vite and typescript

Awesome Lists containing this project

README

        

## Template example for creating phaser 3 project using vite and typescript

### Folder structure
```bash
πŸ“‚game
β”œβ”€β”€ πŸ“public
β”œβ”€β”€ πŸ“src
β”‚ β”œβ”€β”€ πŸ“scenes
β”‚ β”œβ”€β”€ πŸ“types
β”‚ β”œβ”€β”€ πŸ“utils
β”‚ └── πŸ“„config.ts
β”‚ └── πŸ“„index.ts
β”œβ”€β”€ πŸ“„.gitignore
β”œβ”€β”€ πŸ“„index.html
β”œβ”€β”€ πŸ“„package.json
└── πŸ“„vite.config.js
```

```bash
git clone https://github.com/andremalveira/vite-phaser3-example.git game-name
```

```bash
npm i # Instalation

npm run dev # Game start development mode
npm run build # Game build
```