R
Rackover
Guest
Hi,
I've got a room (room_menu) with only one object (object_menu) which is playing a sound (sound_menu) thanks to the following command :
But for an unknown reason, and despite the fact that every sound of the game excepted this one is actually working perfectly, this happens to generate an horrible glitch. Something like really heavy reverb, with poor quality.
I tried with other sounds : same "poor reverb" effect.
I tried in other rooms : sound working perfectly.
But i've got another room (room_opening), which fades in the room_menu when the player presses enter OR after 3 seconds.
Here's the funny part : If the player presses enter to "room_goto" the room_menu, the glitch does not happen and the sound is playing normally.
If the player actually waits 3 seconds for the room to fade (which is exactly the same code than the previous option, because it's an "if (that || this){ } " ) then the glitch actually happens.
Why ?
I've got a room (room_menu) with only one object (object_menu) which is playing a sound (sound_menu) thanks to the following command :
Code:
audio_play_sound(sound_menu, 10, true);
I tried with other sounds : same "poor reverb" effect.
I tried in other rooms : sound working perfectly.
But i've got another room (room_opening), which fades in the room_menu when the player presses enter OR after 3 seconds.
Here's the funny part : If the player presses enter to "room_goto" the room_menu, the glitch does not happen and the sound is playing normally.
If the player actually waits 3 seconds for the room to fade (which is exactly the same code than the previous option, because it's an "if (that || this){ } " ) then the glitch actually happens.
Why ?