Posted December 22, 2022 by squizzleflip
#animation
The first go at this I had a character moving on the screen on a grid, but it was a little stiff as they teleported from cell to cell. Now I've added a tiny walking animation.
Figuring out how to animate a sprite was a little tricky, but once I did, it felt so obvious. For X frames draw sprite 1 and then for Y frames, draw sprite 2 and loop. In things like Godot there's a little animation editor, but I think I like this approach better as I am more at home in the code versus a GUI.