-
-
Notifications
You must be signed in to change notification settings - Fork 652
Description
It would be really cool to have custom Astro integration.
Is your feature request related to a problem? Please describe.
Yes, currently melonJS has no SSR support. If we added custom SSR support we could pre-render the game to a static image and send that to the client so they can see the level before the JS has finished loading. Also we could do things like convert the TMX file to JSON automatically during build time or development so the dev could have hot reloading (though I'm not sure where this is at with regards to Astro's API). These features would pair really nicely with JSX support like melon-solid (though that lib kinda needs some work atm). We could also do automatic texture packing (so users could just import normal images and everything just works).
Describe the solution you'd like
Some kind of plugin for the Astro Integration API most likely though it could be something else
Describe alternatives you've considered
We could also integrate into Next.js or Gatsby, they're likely more popular (though I'm biased towards Astro a little probably but it does have some nifty features)