Loading music into cache during login. in Developer Help
|
|
I've been wondering if this is possible. Right now I have an .ogg file(about 5mb) that plays when the player gets into a fight. The first time it plays during the session, it freezes the game for about 2-3 seconds, then the rest of the time it it plays instantly. I close dreamseeker and run the game again, and it has to go through the same procedure of loading the .ogg the first time, and not having to the rest of the time.
What I want is for the player to only have to run the .ogg the first time they open the game, then from there on, it plays instantly.
I don't understand how it has to reload every session? I'm guessing it's loading as a temporary resource and gets removed when the session is closed?
|