Need help with a Hovering Sprites

Hi there, so in a game I'm developing, one of my actors is meant to move like they hover, so when they move in one direction I ideally want them to stay in that frame of animation.

So this is the sprite of the actor, I want to make it so if say the actor moves to the left, they would use the move frame and not go back to the neutral state like with normal walking animations until they fully stop. Since right now, whenever the movement button is held, they basically hump the air when they return to their neutral state.

1737688476157.png


Sorry if I'm not describing it well.
I think Galv's Character Animations plugin lets you use different sheets for idle/walk/run. So you'd just replace walk/run with a sheet where you've edited the middle frame to be same like the others.
you can also event it in a parallel event:

conditional branch

if: script: $gamePlayer.isMoving()
change actor sheet floating
else
idle sheet
end

there are multiple ways to pull it off (with and without plugins).
Yeah, but I think doing it from a parallel event like that causes some jerkiness when moving.
depends on the amount of parallels running, 1 doesn't matter, but depending
how you use it.

event it wrong can cause problems, but you can also do "nothing" if something
is ON and checks only when required.

I don't know about Galv, but I do know it swap index while moving/running.
so if floating is dashing, it could work.
It can be fixed by adding a countdown.
For example, whenever the character is moving, reset the counter. Otherwise, start countdown until it reaches 0 and change the animation. You can even make some transition animation this way.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-a-hovering-sprites.174912/