*UPDATED TO v0.2* Daaa's animLib v4 mod v0.1 |
Ó

You guys remember Grimfate126's Lua animation library, animLib? Daaa (daaa57150 on our forums) has released his own mod of Grimfate's original lib over on our PSP Development forums. First of all, both this mod and the original app lets homebrew devs create animations easily using spritesheets. Perfect for those who are just starting out on Lua coding.
Here are a few examples of what daaa has added/changed in this mod:
- No more distinction between spritesheets and multiple images animations, except during creation of course. This allows you to have tables with a mix of the 2 kinds, and calling the exact same function on all items without caring anymore.
- Loops limitation and speed are set during construction, and not parameterized during blitting. This can be altered with setter methods on the object. So there is no more advancedBlit().
- Blit functions require a target, usually you'll do it on the 'screen' var but you may want to blit it on an image, so it's possible now.
- I removed garbage collection from the library, you'll have to call it when appropriate. This is so it's not called multiple times in a freeing loop for example.
- Images used in animations are buffered, so if you have many animations based on the same images, they won't be loaded as many times as you have animations, but will be shared amongst them. There are also some memory functions to allow you to prebuffer the images you'll need, and ask them to stay in memory even if no more animation uses them. This will allow you to create an animation based on them later, without loading. By default, they are shared but will be unloaded once no animation need them anymore.
- Animations don't start automatically, you'll have to call the start method.
Daaa's just released a new version of his animLib mod on our forums. This version, 0.2, now includes two more helpful functions: width() and height(). According to daaa, these new functions will help you "smoothly replace your images in your code." You can download v0.2 below.
Download: Daaa's animLib v4 mod v0.2
Download: Daaa's animLib v4 mod v0.1
Visit: PSP Development forums
Contact Us:
The QJ.net Network |
|
| Site | Feed |
| QJ.NET | RSS |
| Nintendo DS | RSS |
| PlayStation 3 | RSS |
| PSP Updates | RSS |
| Wii | RSS |
| Xbox 360 | RSS |
| MMORPG | RSS |
| Personal Computer Games | RSS |
| iPhone - iPod Touch | RSS |
| QJ.NET Forums | RSS |
User Favorites - December
User Favorites - December
Categories
Archives
Accessories
Add-ons
Applications
Artwork
Batteries
Cheats
Deals
Emulators
Events
Featured Articles
Firmware
Flash Applications
Flash games
Game Demos
Games
Hacks & Exploits
Homebrew Applications
Homebrew Demos
Homebrew Development
Homebrew Emulators
Homebrew Games
Homebrew Themes
How-To
Humor
Imports
Interviews
Magazines
Mods
MY QJ
News
Off Topic
On Shelves This Week
Opinions & Analysis
Podcasts
Previews
PSP Go
PSP Minis
PSP Slim & Lite
QJ How-To Series
QuickJump QuickGuide
QuickJump QuickPeek
Reviews
Rumors
Scans
Screenshots
Site News
Titles
UMD Movies
Videos
Weekend Warrior
Wi-Fi
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
Comments [refresh]
Excellent stuff.
I loved grimfate's animlib, it helps so much in coding.
Hope this improves.
I already made another version with 2 more functions (width and height) to help someone:
http://www.box.net/shared/3ajbmbg0ua