E
eggyeox
Guest
I have a code for all my background music objects, that looks like this:
then in my Room End event, there's only audio_pause_sound
that way if I want audio to continue playing in the next room, it resumes the audio from the previous room, and if it wasn't playing in the previous room, it only plays.
my problem is that when it pauses and resumes there's a tiny skip, like it's not a smooth transition? is there a better way to do this?
Code:
if audio_is_paused(mysound)
{
audio_resume_sound(mysound)
}
else
{
audio_play_sound(mysound)
}
that way if I want audio to continue playing in the next room, it resumes the audio from the previous room, and if it wasn't playing in the previous room, it only plays.
my problem is that when it pauses and resumes there's a tiny skip, like it's not a smooth transition? is there a better way to do this?