Log In  

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

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]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-09-18 07:30 | 0.012s | 4194k | Q:17