Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.78 KB

File metadata and controls

49 lines (30 loc) · 1.78 KB


header
Phaser 3 TypeScript Study Cases

This is a Phaser 3 starter with TypeScript, Rollup with ⚡️ lightning fast HMR through Vite.

Play Demo Game Online

Catch The Cat

Available Commands

Command Description
yarn Install project dependencies
yarn dev Builds project and open web server, watching for changes
yarn build Builds code bundle with production settings
yarn serve Run a web server to serve built code bundle

Development

After cloning the repo, run yarn from your project directory. Then, you can start the local development server by running yarn dev and navigate to http://127.0.0.1:5173/phaser-app-ts/.

Production

After running yarn build, the files you need for production will be on the dist folder. To test code on your dist folder, run yarn serve and navigate to http://127.0.0.1:4173/phaser-app-ts/

Credits

phaser3-typescript from digitsensitive

phaser3-rollup-typescript template from geocine

phaser-catch-the-cat from ganlvtech

github deploy

auto build

License

MIT License