AnimLib v4.5


File Name ANIMLIB4.5.rar
File Type RAR
Developer Grimfate126
Operating System PSP
File Size 0.17 MB
Created 05/13/2007
Updated 05/13/2007
Downloads 472 times
Download time  
Modem: 0 min 26 sec
ISDN: 0 min 11 sec
DSL: 0 min 0 sec
CABLE: 0 min 0 sec
T1: 0 min 0 sec

AnimLib v4.5
Rating: 0.00/5.00
Rated by: 0 users
Rate it:
Please scroll down for the download button and more file information.

Download AnimLib v4.5
File Description
Hi to all. Its been some time since ive updated animlib. Just yesterday, i took a look at it, and found some massive flaws. So here is animLib 4.5, with some major changes and performance gains.

Change Log:

Fixed -

* Found a major flaw in sprite sheet animation blitting. The problem was, the lib calculated the width to height ratio in the blit function, when it should have been done in the loading function. It works both ways, but doing it the the blitting function meant that the lib was dividing (with is a costly calculation) every frame unnecessarily. I fixed it so that it calculates only once, in the loading function. This should provide a MASSIVE speed-up when using sprite sheets.

Changed -

* Ive gotten rid of advanceBlit, since it was just taking up stack memory, and added the loop functionality in the normal blit funntion. The new blit functions is like this:

Code:

function ANIM:blit(x, y, delay, numLoops)


so just add the number of loops at the end. If the space is left blank, then the animation will continue forever.

* The anim loading function has also been modified. Just the order of arguments, since the order in v4 was rather peculiar. The loading function is now:

Code:

function ANIM.new(header, extension, frames, where)


Thats about all in this version. I recommend everyone uses this one, since i will speed up sprite sheets a lot.

Post all comments/flames/love-letters/hate-mail/bugs here.

Have fun.


 
















































































Newest Downloads

11/26/2009 - 12/03/2009


12/03/2009
12/03/2009
12/02/2009
12/02/2009
11/27/2009
11/26/2009
11/26/2009
11/26/2009
11/26/2009
11/26/2009
11/25/2009
11/25/2009
11/25/2009
11/25/2009
11/24/2009