TurboWarp / extensions

User-contributed unsandboxed extension gallery for TurboWarp
https://extensions.turbowarp.org/
MIT License
114 stars 234 forks source link

My packaged games takes a long time to load #1582

Closed GaypataponALT closed 3 months ago

GaypataponALT commented 3 months ago

I don't like how my uploaded game on newgrounds takes so much time to load the game, is there a way to fix this?

GarboMuffin commented 3 months ago

if you post the link we can possibly help you figure out why

GaypataponALT commented 3 months ago

Quote reply Reference

https://www.newgrounds.com/portal/view/937495 https://www.newgrounds.com/portal/view/937499

GarboMuffin commented 3 months ago

For one you should probably not disable the progress bar so people know that it's loading...

Your project is 5MB and the packager itself takes about 1MB, so you have to wait for it to load around 6MB. That's not that unreasonable. Most of your 5MB is taken up by the two background songs which are 2MB each

snowboyz0825 commented 2 months ago

If it's any help you may be able to remove some assets and then have them "Load in the background" by hosting the assets on some sort of github repository and then loading them "In the background" each time the project starts. If want you could even have them download once and then have them stored in the local storage extension, though according to the documentation the local storage is limited to 5 MB, so be careful. Just keep in mind that you're not removing loading time, just reallocating it to once the game is actually run