Z
zigzagger
Guest
Hi everyone! I'm making a music based game in which pressing a key generates a short sound. The game requires pressing of the key in rapid succession, so there must not be much delay in generating the sound.
Unfortunately, the delay from pressing the key to generating the sound is noticeable enough to affect rhythm. Below is my code in the Step.
if keyboard_check_pressed(ord('A')){
audio_play_sound(snd_battle_key_a, 10, false);
}
Does anyone know how to decrease or eliminate the delay? thanks
Unfortunately, the delay from pressing the key to generating the sound is noticeable enough to affect rhythm. Below is my code in the Step.
if keyboard_check_pressed(ord('A')){
audio_play_sound(snd_battle_key_a, 10, false);
}
Does anyone know how to decrease or eliminate the delay? thanks