# Can't create “hero walking” animation

I'm creating a Fez-based HTML5 Canvas game and animating my hero image using sprite sheets. The problem is that I can't create the animation of the hero walking, don't matter how much I try, the output is a weird animation that looks like the hero is just shaking its legs. Can someone help me? You don't need to create the sprite sheet for me if you don't want, just show me what's the correct leg position. I'll post the game link in a comment because I can't post more than two links.

Note that the "hero's legs" are compound by 3 pixels each, that are 2x up scaled.

Here is the sprite sheet:

the walking animation is compound by the 6 first frames.

EDIT: If you fall in the demonstration, open the console, type localStorage.x = localStorage.y = 0; and then reload the page immediately to return to the starting point.

• escherparkour.com/insanejs – Tiago Marinho May 7 '14 at 5:41
• I didn't see animation code in your source. I suppose the playback is inside the Fez engine (I don't know it), right? Or did I miss it.. – antont May 7 '14 at 6:26
• While I haven't played Fez myself, a) the animation seems to be fine for me (IE11) and b) you shouldn't use other people's (or companies') art. – Mario May 7 '14 at 7:49
• @Mario the art was made by me, but inspired on Fez. – Tiago Marinho May 7 '14 at 11:29
• @antont I didn't understand what you said, but this game has nothing to do with Fez, except it's inspired in it. My problem is that the "walking" animation looks strange. – Tiago Marinho May 7 '14 at 11:31