Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: metalmario991 on Sun 23/08/2015 19:58:24

Title: Audio Question and Screen glitch
Post by: metalmario991 on Sun 23/08/2015 19:58:24
I know how to stop a particular piece of audio but is there a universal command where I don't have to be specific? Also, is it possible to make audio eNoBlock so a voice clip will play when the music is going on? Finally, during my test, a weird screen glitch happened where it flashed back to the screen it was previously on. Here is my script:

function room_Load()
{
a106_goomba_village_theme.Stop();
a144_pG.Play(eAudioPriorityLow);
Wait(200);
a144_pG.Stop();
aMario16.Play(eAudioPriorityLow);
aMario15.Play(eAudioPriorityLow);
a3_52_G.Play(eAudioPriorityLow);
}

It happened when the voice clips started playing. It also doesn't seem to do the screen transition. I used the debug to get to the screen so is that what is wrong?