W
WillCampbell21
Guest
Basically, I am making a sound board app and I want it so that when you press on a button, it plays the sound and changes the instance. When I press the the button it plays the sound, changes the instance but it won't change back afterwards. Here is my code:
if (audio_is_playing(snd_druggo) == false)
{
audio_play_sound(snd_druggo, 1, 0);
}
if audio_is_playing(snd_druggo)
{
instance_change(obj_indruggo2, true);
}
else
{
instance_change(obj_indruggo, true);
}
Thanks guys!
if (audio_is_playing(snd_druggo) == false)
{
audio_play_sound(snd_druggo, 1, 0);
}
if audio_is_playing(snd_druggo)
{
instance_change(obj_indruggo2, true);
}
else
{
instance_change(obj_indruggo, true);
}
Thanks guys!