This is round 2 of my "template" cartridge for building a basic game with multiple players, screens and additional entities.
I have now added an animation script, which will allow the writer to load in animation sequences (as sprites) ahead of time, and have a simple function called to advance the animation frame at the right time.
Animations can utilize the same sprites in multiple places, control the timing of the animation, and of course loop.
Anyways, I'm building these for my own foundation, but I hope anybody else can get some knowledge from them.
P.S. this cart uses Lua's fancy "multiple return values" feature, which now that I understand, is like a super power.
[Please log in to post a comment]