Log In  

Cart #28446 | 2016-09-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

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.

P#28447 2016-09-12 23:53 ( Edited 2016-09-13 03:53)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-01-20 17:59:40 | 0.008s | Q:13