Force resource loading
Monkey Targets Forums/HTML5/Force resource loading
| ||
Hello all! Is it possible to force loading all resources (music, images, etc.) before the game starts. Now the resources get loaded when they're needed. I hope you know what I mean ;) Thank you! |
| ||
For HTML5, you would need to write a resource manager using the new databuffer/datastream loaders. |
| ||
Thank you for the hint! I'm sure, that I'll find a solution ;) |
| ||
Or you could just "need" them all before doing anything. For example, render something from every image on the first frame. Make all the noises with channel volume set to zero. |
| ||
Aaa! That's an idea :D Dirty, but it might be a solution :) Thank you! |