Today, I spent the stream trying to cleanup some better looking (animated) cat sprites. I got them from: https://pop-shop-packs.itch.io/cats-pixel-asset-pack?download . The big problem I was having with the sheets is that they wouldn’t import as-is b/c they weren’t spaced evenly. At first I thought I was going to have to create sprite sheets for each cardinal direction one by one. I started off doing it that way all the while thinking – there has to be a better way to do this. I realized that their sprite sheets were evenly spaced, it was just 4 sprite sheets mashed together. So I subdivided them into 4 sprite sheets of 128 x 512 pixels and everything lined up evenly in Godot. I was able to create walking animations for all cardinals directions.
Then I started working on the math to figure out which cat animation to use depending on the direction they’re moving in. I kind of got there at the end, but the cat was 180 degrees out of wack. I’ll make some adjustments to the lookup table and it should be fixed in short order in the next stream. I’m really psyched about the progress. If I can get the cat sitting, laying down, walking and running – that should look really neat. Then I want to do some more refinement of the AI so that it makes sense what it is doing. Then I want to make it so you can spawn arbitrary cats into the game (all the different colors) and they will each do their own thing.
Here is what the game looked like at the end of the stream.