H
Hudsonius
Guest
So I already have my sprites and player movement (no need to talk about that) and I was wondering what the most accurate way to put walking animations into my game would be. My game is top-down so it requires 4 directional movement. The reason I would like this is because, in the game, the direction your character is facing is the direction your melee attack goes, so, it's really annoying if you don't have good implement on the animations (also it looks bad w/out good timing on walking). I tried setting when hspeed >/< 0 sprite is left/right and image speed = 1 (same for vspeed) and setting the image speed to 0 when the player is still. This works, but the player faces the wrong direction if two keys are pressed at once and you lift one (this happens a lot) and the player often has a walking animation when still. If anyone could help it would be great, a link would be fine too.