U
uni00
Guest
Hello. I want to make the sound of the clock smaller as the player gets farther away. Even if falloff is set, the sound of the clock does not change at a certain volume. Is there any setting mistake?
GML:
clock create
ClockEmitter =audio_emitter_create();
audio_emitter_position(ClockEmitter,x,y,0);
audio_emitter_falloff(ClockEmitter,100,100,1);
GML:
clock step
if(!audio_is_playing(sound2))
{
audio_play_sound_on(ClockEmitter,sound2,true,0);
}