K
krakk
Guest
Hi, i'm struggling to make a looking object change,
I'm managing to change one time, then it stops.
I have this code in the 1ºst obj:
and then this on the 2nd obj:
what may be the problem?
I'm managing to change one time, then it stops.
I have this code in the 1ºst obj:
Code:
Create Event:
set Alarm 0 to 45
execute code:
image_speed = 0.2
Alarm Event for alarm 0:
set Alarm 0 relative to 100
change the instance into object lavafall2end, not performing events
Begin Step Event:
execute code:
image_speed = 0.2;
Other Event: Animation End:
set the sprite to lavafall2 with subimage 0 and speed 0.2
and then this on the 2nd obj:
Code:
Create Event:
set Alarm 0 to 45
execute code:
image_speed = 0.2
Alarm Event for alarm 0:
set Alarm 0 relative to 100
change the instance into object lavafall2begin, not performing events
Other Event: Animation End:
execute code:
image_speed = 0;
image_index = image_number - 1;
what may be the problem?