Hi everyone,
I'm currently working on a project in RPG Maker and could use some assistance with event animation transitions. Here's the situation:
I have an event with step animation that represents an object with continuous animation. When the player interacts with this event, I want the sprite to change to a new one.
Currently, I've set up the event with step animation. When clicked, it triggers a move event that changes the sprite to another direction, iterates the animation, and then changes the sprite again to finish the animation.
(change graphic, wait 4 frames, change graphic, wait 4 frames, change graphic, wait 4 frames, etc)
So the full action animation comprises 8 frames, with an additional 4 frames for standing animation.
The issue I'm facing is that the event needs to be on the first frame of the standing animation when transitioning to the first frame of the action animation to ensure smooth animation flow.
As mentioned earlier, the action animation starts only when the player uses the action button on the event. It should wait until the standing animation returns to the first frame before transitioning.
My ideal solution would involve a loop with a conditional branch: if the event is not on frame 1, continue looping; once it reaches frame 1, proceed with the action animation.
Could someone please guide me on how to implement this conditional branch effectively? Any help or advice would be greatly appreciated!
Thank you in advance!
I'm currently working on a project in RPG Maker and could use some assistance with event animation transitions. Here's the situation:
I have an event with step animation that represents an object with continuous animation. When the player interacts with this event, I want the sprite to change to a new one.
Currently, I've set up the event with step animation. When clicked, it triggers a move event that changes the sprite to another direction, iterates the animation, and then changes the sprite again to finish the animation.
(change graphic, wait 4 frames, change graphic, wait 4 frames, change graphic, wait 4 frames, etc)
So the full action animation comprises 8 frames, with an additional 4 frames for standing animation.
The issue I'm facing is that the event needs to be on the first frame of the standing animation when transitioning to the first frame of the action animation to ensure smooth animation flow.
As mentioned earlier, the action animation starts only when the player uses the action button on the event. It should wait until the standing animation returns to the first frame before transitioning.
My ideal solution would involve a loop with a conditional branch: if the event is not on frame 1, continue looping; once it reaches frame 1, proceed with the action animation.
Could someone please guide me on how to implement this conditional branch effectively? Any help or advice would be greatly appreciated!
Thank you in advance!