well, i guess this is my christmas present to all lua devs, anim lib 4!
from the readme:
and, a FAQ for those who are confused:This is the FOURTH release of Animation Lib. THIS VERSION NOW SUPPORTS ALL SPRITE SHEETS
AND ITS SOOOO EASY!
Spoiler for FAQ:
Spoiler for NEW FUNCTIONS:
as i said before, loading sprite sheets with this version is SOOOOOOOOO easy. i cannot emphasize this enough. actually i can. ITS REALLLLYY EASYY
tutorial for loading/blitting spritesheets:
Spoiler for SPRITESHEET TUTORIAL:
IMPORTANT: when loading a sprite sheet, you have to call it like this:
blah = SS.new(whatever)
blah = ANIM.new(whatever)
ONE MORE THING:
i recommend reading this tutorial, before using this lib: (it might help a bit)
(this shows animlib blitting 3 spritesheet animations, and yes, i know its beautiful)
and obviously, the download link:
to use this lib, simply put:
at the beginning of your code.Code:dofile("animLib.lua")
well, thats it. if you have any questions, look in the sample file, "index.lua". chances are, itll answer your question. if it doesnt, you can PM me at the
QJ forums. my name there is:
you can also PM me if you want to tell me suggestions.
please give credit to Grimfate126 if you use it.
P.S. the "index.lua" file, when executed, will show 3 random sprite sheet animations i made in about 5 seconds.