79823527

Date: 2025-11-18 15:28:24
Score: 3
Natty:
Report link

Thanks for your reply, I was hoping an alternative to loading the engine multiple times.

I'm not entirely satisfied with that, as there is still a freeze when loading every game (it's inside a KeepAlive component, but it does not matter : the Engine.init() which transfers the wasm into memory (I guess) is the culprit)


EDIT: oh did you mean that I can call Engine.init() just once in a canvas and then load whatever I want in it without actually having to call init again ?


I had one recommendation from a friend that said "load the engine once, let it run and just change between scenes with an exposed api"

I find this idea pretty sexy but I can't switch all my projects to just "scenes" without being absolutely sure that it is really the solution and that it will fix my problem.

Maybe that's the solution, I'm just too lazy to think by myself and would like to know if someone has already done that way...

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sw0ut