Hi! I’m creating a top-down RPG in the style of the old ‘Legacy of Goku’ games. My sprite can walk left, right, toward the camera and away from it. When my sprite stops walking, he returns to the idle pose, animation #0, where he is facing the camera.
However, I’d like for my sprite to keep facing the direction he was walking in before stopping. For example, if he is walking leftward toward an item such as a treasure chest or a boss he’s about to fight, it looks a bit silly for him to turn and face the camera as soon as the motion stops.
I’m aware I could invert at the end of motion and have him return to a static idle animation in which he’s facing left, but then he’s always going to be flipping back to a left facing position.
In summary, when my sprite has finished walking in any direction, I’d like them to keep facing that direction on returning to idle.