Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Music takes Forever to Load!

Author
Message
Flaming Ghost
19
Years of Service
User Offline
Joined: 29th Apr 2005
Location: Um...Right here
Posted: 5th May 2005 13:17
Im using DBC, and I have some music that lasts for 2'32. Whenever I play it, it takes it almost 5 min. to load!!! Is there any command that will make it pre-load the music, so I don't have to wait during the game for it to start playing?

Am I dead yet?
NanoBrain
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 6th May 2005 12:46
Flaming Ghost,

Are you loading the music file at the beginning of your source code? If not, this should keep the game from a delay in listen time. Load it ahead of time, and play when needed.


+NanoBrain+
Clueless
20
Years of Service
User Offline
Joined: 16th Feb 2004
Location: Corbin, KY, USA
Posted: 7th May 2005 07:07
Is it a .WAV file? Those are bigger and should therefore chew up more memory than, say, an .mp3 or midi file, taking longer to load also

Login to post a reply

Server time is: 2024-09-23 19:31:11
Your offset time is: 2024-09-23 19:31:11