- Home /
Question by
user-476 (google) · Dec 07, 2009 at 10:29 AM ·
audiostreaming
WEB game how in the dozens of songs quickly switch? There is a good way to do
I would like to develop a music web game, players need to select the song in dozens of favorite songs. Each song about 3MB. Players have to Load a few minutes for each song selection. How can shorten the Load time? Without the use of Load, online play songs? As music sites
Comment
Best Answer
Answer by jonas-echterhoff · Dec 07, 2009 at 12:24 PM
Try saving the music as .ogg files, and use WWW.audioClip to access them. That allows you to start playing audio clips before they finished downloading.
Yes, $$anonymous$$is on the right track here (Pun intended). You don't want to preload all music, but to stream them asynchronously using WWW. $$anonymous$$ake sure to check out the docs on the WWW class.