RPGMMV Is there any way to use all 12 sprites for an animation?

Hi!

I want to make a 12 steps animation using the all 12 cells in a sprite character
upload_2019-9-7_23-1-20.png


For example I would like to make the frames play in this order
upload_2019-9-7_23-3-38.png


Is there any way to do it?
Yes. Make sure stepping is on, then cycle the directions down, left, right and up. Timing can get a little tricky.

Alternatively, you could use Yanfly's Grid Free Doodad's plugin, it's much more versatile and easier to time.
@stramin There is a way to force an event to play the animation in order, but it will require a tiny bit of scripting. First, set your event to be Direction Fix'ed. Next, select the 'Custom' type from the Autonomous Movement option drop-down and click on the 'Route' button. The following script and wait commands should animate the event properly :

Code:
Script:this._animationCount = -900;
Script:this._direction = 2;
Script:this.setPattern(0);
Wait:5 frames
Script:this.setPattern(1);
Wait:5 frames
Script:this.setPattern(2);
Wait:5 frames
Script:this._direction = 4;
Script:this.setPattern(0);
Wait:5 frames
Script:this.setPattern(1);
Wait:5 frames
Script:this.setPattern(2);
Wait:5 frames
Script:this._direction = 6;
Script:this.setPattern(0);
Wait:5 frames
Script:this.setPattern(1);
Wait:5 frames
Script:this.setPattern(2);
Wait:5 frames
Script:this._direction = 8;
Script:this.setPattern(0);
Wait:5 frames
Script:this.setPattern(1);
Wait:5 frames
Script:this.setPattern(2);
Wait:5 frames

Remember to also select the 'Repeat Movements' check-mark if you want the animation to repeat.

If '_animationCount' is not set to a large negative number, the current image will automatically be reset to the neutral pattern (the middle frames; 2,5,8,11) by the default RPG Maker code and interrupt the smooth flow of the animation. There are four directions -- down, left, right, up -- which are represented by 2, 4, 6, 8. We want to go in that exact order to properly navigate the sprite sheet. There are also three patterns per row, hence setting the pattern to 0, 1, and 2.
Tech Support is for when you can't get the engine to run.

Moved to: RGP Maker MV
Thank you!

I am trying Ossra script, it works fine, but I have a question, how "this._animationCount" works? what is that negative number?

Tech Support is for when you can't get the engine to run.

Understood, I always have problem finding where is the correct place to post... it seems like everything is in order for the older makers, but MV has his own separated forum, except for resources, and it seems like tech support is for all, it is a little hard to understand for me 😐

or maybe I have OCD 👋
@stramin '_animationCount' is basically the amount of frames between each pattern on the current row of the character sprite. Once '_animationCount' reaches a value based on the walk speed of the character, the code will cycle through the three patterns on the current row and thus animate a walk motion. Typically '_animationCount' is incremented each frame by either 1 or 1.5, and at a normal walk speed the target value to switch to another pattern is around 6 or 7.5 frames. So if we set '_animationCount' to a large negative number the game will take much longer to reach the target value, which would give us around 600 frames to manually set whatever pattern we want without fear of the pattern being reset.
@Ossra that's a good explanation, Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/rpgmmv-is-there-any-way-to-use-all-12-sprites-for-an-animation.113049/