This is a project starter template for a web game that uses Phaser 3 for the game world and Skeleton UI (SvelteKit + Tailwind) for the menus.
To get started, press "Use this template" on the top of the github page.
Then, run:
pnpm i
pnpm dev
src/phaser/scenes/GameScene.ts
src/phaser/main.ts
src/svelte/routes/Hud.svelte
static/manifest.json
.src/lib/stores.ts
contains the variables that communicate between the Phaser game and the Svelte UI