You guys remember Grimfate126's Lua animation library, animLib? Daaa 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, exept 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.
This is the first release. As such, there are still a few bugs here and there. To report them, discuss this release on our PSP Development forums. Also, don't forget to read the extensive readme included in the download. You'll get a lot of answers there as it contains explanations for pretty much everything in this app.
Like it? Share with your friends!
If you got an error while installing Themes, Software or Games, please, read FAQ.
Comments on Daaa's animLib v4 mod:
Comments not found
If you noted an error or download link is broken, please, report it via this page or use comments.
Please, select device to check if Daaa's animLib v4 mod supports it