You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing a gaming website using SvelteKit and Phaser.js, where users can play multiple 2D games. Each game should have its own assets (images, sounds, etc.) and be accessible via routes like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am developing a gaming website using SvelteKit and Phaser.js, where users can play multiple 2D games. Each game should have its own assets (images, sounds, etc.) and be accessible via routes like:
http://somehost.com/game/game1
http://somehost.com/game/game2
http://somehost.com/game/game3
I checked the official Phaser.js + Svelte template https://github.com/phaserjs/template-svelte , but it seems designed for a single game setup. I need a scalable structure to host multiple games efficiently.
My Current Considerations:
static
or inlib
?What can best Project Structure for such platefrom built using Phaser.js and SvelteKit?
Beta Was this translation helpful? Give feedback.
All reactions