Problem with Music/Sound Effects

My game has background music which works fine, but then when I play sound effects the music stops. Is there a way to have both play simultaneously?

Thanks,
Matt


Search the forums for KV's audio/video library. I remember someone saying that it can play sounds simultaneously. Your sound files have to be .ogg though, not .mp3.


Thanks!


Mp3 works too.
Still it's a good idea to have every sound encoded in both formats to prevent different platforms from not being able to play the sound(s).

PlaySound ("
http://www.rockstrom.com/tgs/act1/intro.ogg;
http://www.rockstrom.com/tgs/act1/intro.mp3
", false, false, "intro", false, false) {
}

I inserted line-breaks for readability.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums