aisdjioad
Member
I'm just trying a simple thing: Once the game starts, the object.Transition will play a sound effect and then the room changes with alarm[0] = 1.2*room_speed.
BUT, once i start the game, the object plays the audio, then plays it AGAIN (1.2*room_speed later) instead of changing the room, and only then it changes the room...
ALSO, when the object plays the audio for the second time, my player's x and y changes to the initial value...
Heres the code from the oTransition:
Create Event:
audio_play_sound(sfxBattleEncounter, 500, false);
alarm[0] = 1.2*room_speed;
Alarm[0]:
room_goto_next()
Why is this not working?
BUT, once i start the game, the object plays the audio, then plays it AGAIN (1.2*room_speed later) instead of changing the room, and only then it changes the room...
ALSO, when the object plays the audio for the second time, my player's x and y changes to the initial value...
Heres the code from the oTransition:
Create Event:
audio_play_sound(sfxBattleEncounter, 500, false);
alarm[0] = 1.2*room_speed;
Alarm[0]:
room_goto_next()
Why is this not working?