.
•
Register
•
Login
Brewology.com
PSP Downloads
Development
Development Libraries
Development Utilities
Source Code
Emulators
Amiga
Amstrad CPC
Apple II
Arcade
Atari
BBC Micro
Carice
Chip 8
ColecoVision
Commodore 64
CPS2
DOS
Dragon32/64 emulator
Gameboy / GBC
Gameboy Advance
HP48
M.A.M.E
Macintosh
MSX
Neo Geo
Nintendo 64
Nintendo NES
PC-9801
PlayStation One
QUASI88
SamCoupe
ScummVM
Sega Genesis Megadrive
Sega Master System
Sinclair ZX81
Super Nintendo SNES
Thomson MO5
TI
Turbo Grafx 16
Vectrex
WonderSwan
X86
Yabasic
ZX Spectrum
Firmwares
Game-Addon-Packs
Hacks and Exploits
Homebrew Applications
General Apps
Media Apps
Organization Apps
Wi-Fi / IR Apps
Homebrew Games
Flash Games
General Games
LUA Games
Homebrew Packs
Magazines
Backgrounds
PSP Magazines
PC Tools
EBOOT Tools Utilities
General Tools Utilities
PSP Emulator
Brewology:
Brewology Menu
Forums!
News
PS3 Homebrew/PSN Store
PSVita Homebrew Store
PS3 Homebrew Manager
PSN Links
PSN Update Finder
PSN / PKG Downloader
Downloads
PSP
PS3
Wii
Saved Games
PSP
PS3
Wii
Go Back
AnimLib v4.5
Filename
ANIMLIB4.5.rar
Date Posted
May 13, 2007
Categories
Development Libraries
,
PSP
Tags
PSP
Downloads
1084
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.
Download File