A Phaser 3 game project with a React overlay (for UI purposes). Powered by Vite and using TypeScript out of the box. Also includes some very basic interaction between the React UI and the Phaser game. Check out the live demo!
After cloning the repository, run the yarn
command in the root directory to install all the required dependencies. If you're not using yarn (which you probably should), you can alternatively do this by running npm install
.
Run the yarn dev
command to start a developer server with hot reload. The npm alternative is npm run dev
.
Build a production release of the project by running yarn build
or npm run build
. The built files are in the dist
folder.