Changing walking animation speed in-game

Hello,

I'm wondering if there is a way to change the walking animation speed of the player mid-game? (And I'm talking about the framerate of the walking animation, not the walk speed of the character).

I already found a way to do this permanently here. But this way only allows me to change the animation speed for the entire game, but I'm looking for a way to change it mid-game.

Effectively, I want to start the game with the the player moving its normal speed with normal animation speed, then, after a certain event mid-game, I want the player to move 2 times its original speed (I know I can set this using set move route > change speed), but still have the walking animation frame rate of 1 times speed.

Thanks!
Change the frequency and speed through an event. You can do it anytime in the game, and unless you change it back, it stays that way.

In the contents of an event, select movement: set move route. There, select player and speed. Or frequency, I can't remember which is best. Option number 5 in speed or frequency and I think that should work.

Edit: Tested out and it's frequency you really need to change.
Change the frequency and speed through an event. You can do it anytime in the game, and unless you change it back, it stays that way.

In the contents of an event, select movement: set move route. There, select player and speed. Or frequency, I can't remember which is best. Option number 5 in speed or frequency and I think that should work.

Edit: Tested out and it's frequency you really need to change.
Thanks for your reply.

I tested out your solution and it didn't work for me. I changed the player's speed to 5 (2x faster) and frequency to 2 (lower), but my characters walk animation still plays at 2x speed.

I wish to change the animation frame rate, how fast the game cycles through the three animation frames in a character spritesheet.
But you want it to have a small frame rate, or higher one? Because if you want a higher one, the frequency needs to be higher too.
Try changing both speed and frequency to 5 and you will notice the difference.
Am I doing something wrong here? I don't notice any effect when I change the frequency. I wish my character would move at 2 times speed, with the same animation frame rate as one time speed (since the frame rate is automatically changed with the move speed).

LPjgNfH.png
Oh I see what you really want, You want more speed but less frame rate, right? Try Frequency 1 with either speed 5 or 6. I did speed 6 with frequency 1 and I got a faster char at the same frame rate.
You mean like this right? I don't know how, but the animation frame rate/stepping animation speed still is insanely high for me.
8gmoTTp.png
https://forums.rpgmakerweb.com/index.php?threads/changing-the-character-animation-speed.21225/

I don't know about this script and I don't know if a frequency can go lower than one. Have you consider using one multi frames script? Maybe with more frames you could do what you want...
Here is the one I use:
https://victorenginescripts.wordpress.com/rpg-maker-vx-ace/multi-frames/
If you use more frames I'm sure that by changing the frequency you could get what you wish.
Dragonthunder, you already found the method to change it permanently. You do realize that you can just make that method go on a switch.

As a review, that topic you linked suggests putting a changed update_animation for the Game_Player class, specifically by changing the 18 in the if @anime_count > 18 - real_move_speed * 2 to a different number.

Instead, what you want to do is have a switch and change that statement so that it would look more like

def update_animation
update_anime_count
if @anime_count > 9 - real_move_speed * 2 and $game_switches[MIDGAME]
update_anime_pattern
@anime_count = 0
elsif @anime_count > 18 - real_move_speed * 2

update_anime_pattern
@anime_count = 0
end
end

Or since they technically use the same procedures:

def update_animation
update_anime_count
if (@anime_count > 9 - real_move_speed * 2 and $game_switches[MIDGAME]) or @anime_count > 18 - real_move_speed * 2
update_anime_pattern
@anime_count = 0
end
end

Either way, it'll check the switch and also run the modified animation count or it will run the normal animation count.
Dragonthunder, you already found the method to change it permanently. You do realize that you can just make that method go on a switch.

As a review, that topic you linked suggests putting a changed update_animation for the Game_Player class, specifically by changing the 18 in the if @anime_count > 18 - real_move_speed * 2 to a different number.

Instead, what you want to do is have a switch and change that statement so that it would look more like

def update_animation
update_anime_count
if @anime_count > 9 - real_move_speed * 2 and $game_switches[MIDGAME]
update_anime_pattern
@anime_count = 0
elsif @anime_count > 18 - real_move_speed * 2

update_anime_pattern
@anime_count = 0
end
end

Or since they technically use the same procedures:

def update_animation
update_anime_count
if (@anime_count > 9 - real_move_speed * 2 and $game_switches[MIDGAME]) or @anime_count > 18 - real_move_speed * 2
update_anime_pattern
@anime_count = 0
end
end

Either way, it'll check the switch and also run the modified animation count or it will run the normal animation count.
Since I want the animation to play slower instead of faster, I was able to edit the code a bit and now it works perfectly!
Code:
  def update_animation
    update_anime_count
    if (@anime_count > 22 - real_move_speed * 2 and $game_switches[2]) or (@anime_count > 18 - real_move_speed * 2 and !$game_switches[2])
      update_anime_pattern
      @anime_count = 0
    end
  end

This is exactly what I was looking for, thank you very much! ^_^

Original thread: https://forums.rpgmakerweb.com/threads/changing-walking-animation-speed-in-game.75298/