Text only
|
Text with Images
Adventure Game Studio
AGS Support => Beginners' Technical Questions => Topic started by: Glenjamin on Sun 30/08/2015 18:58:03
Title:
Stopping all sounds
Post by:
Glenjamin
on
Sun 30/08/2015 18:58:03
Is there a command to stop all in-game sounds at once?
Title:
Re: Stopping all sounds
Post by:
Snarky
on
Sun 30/08/2015 19:37:14
Code
(ags)
Select
Expand
int i=0;
while(i<System.AudioChannelCount)
{
System.AudioChannel[i].Stop();
i++;
}
Title:
Re: Stopping all sounds
Post by:
HandsFree
on
Sun 30/08/2015 20:40:27
Game.StopAudio();
Text only
|
Text with Images