• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Do the sounds with 0 gain stop automatically

Petrik33

Member
So, the question is straight: Should I care about the sounds I set gain of 0 ( using audio_sound_gain() function) or will they be stopped automatically?
 

Slyddar

Member
Nope, you need to do something like set an alarm to stop the sound. As stated, you can test this yourself by setting it to zero, and then either turning it back up or just check audio_is_playing()
 

Petrik33

Member
Thank you everyone! Was thinking the same, but now I am sure at least, sorry I haven't made research of this myself
 
Top