i just tried out the script, modified it to my project structure. boi oh boi this is what i needed. this is the first time succeeding having a web edition of any of my projects working. Don't know how to thank you, this is so freaking great :)
Now I just have some errors when compiling it to web compared to standalone i need to have fixed. Etc one of the things in with generating a random numbers the arguments are switched from the web, but works on standalone, but thats managable :). Do you sometime face that some of your code works when its standalone and then needs modification to work when compiled as web?
Just really happy to have this working finally, since i believe the size of games im making don't really make sense that you need to download to play.. Again thanks ma dude ! You should share your script on a open github repo. I belive many could benefit from this !