How do I...adjust the speed of a Stepping Animation for the player?

So basically, what happens is that at every point in my game where the player's sprite physically opens a door, I use a common event for the Change Actor Images to switch to the character's arm being held out to open the door, like an animation.
Then it switches back to the regular sprites.


The thing is, I can't really seem to get the door-opening spritesheet stepping animation to match the timing with the door.

What I do is in my common event, I set the player to "stepping" with the door opening spritesheet, so that the animation of facing down/right/left/up is played for the player.

But there just isn't really a direct way to adjust the speed how I'd like. I've tried toying with changing speed and frequency in that set movement route, but it doesn't really seem to do anything.


Is there a way to get the player to show certain frames if possible?
So basically, what happens is that at every point in my game where the player's sprite physically opens a door, I use a common event for the Change Actor Images to switch to the character's arm being held out to open the door, like an animation.
Then it switches back to the regular sprites.


The thing is, I can't really seem to get the door-opening spritesheet stepping animation to match the timing with the door.

What I do is in my common event, I set the player to "stepping" with the door opening spritesheet, so that the animation of facing down/right/left/up is played for the player.

But there just isn't really a direct way to adjust the speed how I'd like. I've tried toying with changing speed and frequency in that set movement route, but it doesn't really seem to do anything.


Is there a way to get the player to show certain frames if possible?
Have you tried putting a "wait" time in the movement route? When you turn the player's direction without a wait time, it plays the turn only for a frame and passes on to the next. With a wait time between each turn, you can control the animation.
Have you tried putting a "wait" time in the movement route? When you turn the player's direction without a wait time, it plays the turn only for a frame and passes on to the next. With a wait time between each turn, you can control the animation.

Ahh, I should clarify:

So the player's direction is not necessarily the concern. It's the row of sprites. I will show you what I mean:

!$HelmOpeningDoor.png

So here, whenever the player is opening a door, these specific door-opening actor sprites get switched with the regular ones in my common event.

So I think of these actor sprites like:

1 2 3 (facing down)
1 2 3 (facing left)
1 2 3 (facing right)
1 2 3 (facing up)


The idea is, I want the animation when the actor images get changed to do a motion of:
1-2-3, then it stops there and the whole thing ends.
But the problem is when i try doing this by using Stepping Animations (the only way I know how to get that specific row to play), what I usually see is a motion of:
2-3-2 like it quickly changes between the row. I can't seem to control that when I try adjusting speed/frequency, and adding a wait time will not do anything since that only effects the "direction", which is not the concern here.
Don't use the player, use a dummy event with 3 pages (1 for each frame). When opening a door, transfer this player dummy to the players X and Y. Turn the player invisible and use a switch to make the dummy visible.

The pages of the dummy event can be autorun, each page containing a wait command, then turning on a self switch for the next frame. On the last page, you turn off the switch, then turn off all the self switches and make the player visible again.

Now, keep in mind that for each door, you would need to set the facing direction of the dummy event manually. (But usually doors are opened by facing up, so maybe it's no big deal)

It's a lot of "labour" to set up. But it works.

Alternatively make a sprite sheet that's using directions for the frames, not steps. (Like doors and pretty much everything else)
Don't use the player, use a dummy event with 3 pages (1 for each frame). When opening a door, transfer this player dummy to the players X and Y. Turn the player invisible and use a switch to make the dummy visible.

The pages of the dummy event can be autorun, each page containing a wait command, then turning on a self switch for the next frame. On the last page, you turn off the switch, then turn off all the self switches and make the player visible again.

Now, keep in mind that for each door, you would need to set the facing direction of the dummy event manually. (But usually doors are opened by facing up, so maybe it's no big deal)

It's a lot of "labour" to set up. But it works.

Alternatively make a sprite sheet that's using directions for the frames, not steps. (Like doors and pretty much everything else)


Ahh, thank you for the insight SGHarlekin.

I think I will have to do your alternative solution near the bottom, because using a common event for manual doors is going to be crucial. Mainly because this character I showed is not the only one. Depending on who's leading the party, those characters also have their own door-opening animations. (Though I just use a conditional branch to check who the party member #1 via game data ID, before I use their appropriate Change Actor Images).
I was sort of hoping it could be easier, but your last solution sounds the most feasible, and simplest!
Ahh, thank you for the insight SGHarlekin.

I think I will have to do your alternative solution near the bottom, because using a common event for manual doors is going to be crucial. Mainly because this character I showed is not the only one. Depending on who's leading the party, those characters also have their own door-opening animations. (Though I just use a conditional branch to check who the party member #1 via game data ID, before I use their appropriate Change Actor Images).
I was sort of hoping it could be easier, but your last solution sounds the most feasible, and simplest!

Yeah, the first solution requires a lot of work to be done. And to be honest, just having a separate sprite sheet isn't exactly hard or time consuming. I highly recommend using that as well. xD

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-adjust-the-speed-of-a-stepping-animation-for-the-player.154796/