As expected, no progress today.
One consideration I made was to break compatibility with the GB Studio sprite format.
GB Studio uses two frame animations and three directions per character for characters that can move around. The walk-right animation is simply mirrored to get the walk-left animation. There is a second, simpler, format for characters that can only turn but not walk. As you'd expect it uses just three frames, but I barely used that in Darts and I'll see whether I even implement it.
Since I do not suffer from the memory limitations of a Game Boy cartridge I think I will go with a format that uses a separate walk-left animation in the sprite. It does not require significantly more space and probably makes the code a little bit simpler. Changing the sprites is simple and quick too if all you want is to arrive at the same result. An additional benefit is that you can have different walk-left and walk-right animations if you want to. It probably makes sense to keep them similar in order to keep the character recogniseable.
I'll have to see whether it makes sense to use an existing module like anim8 or write something similar geared towards these sprites.
0 comments