Practice project for Phaser 3. Because we have free time at work and studying game programming seems like a good use of our time. Uses Phaser 3 TypeScript Starter by geocine. Uses asset from Kenney Game Assets 1.
- Collission with stalactites and stalagmites
- Manage the number/frequency/range of height for stalactices and stalagmites
- Score counter
- Main menu
- Host through surge
Command | Description |
---|---|
yarn install |
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 |
This is a Phaser 3 starter with TypeScript, Rollup with ⚡️ lightning fast HMR through Vite.
After cloning the repo, run yarn install
from your project directory. Then, you can start the local development
server by running yarn dev
and navigate to http://localhost:3000.
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://localhost:5000