Quick Jump Daily Digest

Thank you for your interest in the Quick Jump Daily Digest. Get notified of all new content on QJ in our free Daily Digest. To subscribe, enter your email address below and click the subscribe button.


Email Address:


Email will come from "donotreply@caputomedia.com". Please whitelist this email address.

Cancel and Return to page

Lua Animation Lib v4.5

Posted May 12, 2007 at 7:51PM EST by QJ Staff

Listed in: Homebrew Applications, Homebrew Development Tags: daaa57150, Grimfate126, Lua, psp homebrews
Ó

One of Grimfate126's test pngs. - Image 1If you're a coder, then you've probably spent some time tinkering with Daaa57150's AnimLib modifications in an attempt to animate sprites for your own purposes. Why not go back to the original, however, with this new update for Lua Animation Lib by Grimfate126?

Grimfate126 has released Lua Animation Lib version 4.5 (AnimLib v4.5), which fixes some persistent problems in the previous version. There are also a couple of changes that will definitely help coders out and speed up their work. Let's see what Grimfate126 himself has to say about the release via his changelog:

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 function. 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)
Responses on our forums seem to be quite positive so give it a try, alright? Enjoy!

Download: AnimLib v4.5
Visit: PSP Development Forums



0% of voters think this story ROCKS!
Vote Now!    This story ROCKS! (0) This story SUCKS!! (3)




Become a Member of QJ.Net!

If you want your comments to go live without waiting for moderation, you need to be logged in. Being logged in has its benefits:
  • Logged in members do not wait for their comments to be approved.
  • Logged in members can sign up for nightly updates.
  • Logged in members can create Profiles to be seen by other users.
So why wait? Create an account or login now! It's easy, quick, and free.

To get started, use the LOGIN boxes, or the REGISTER link at the top right!

Comments 


 
# tightGuest 2007-05-13 07:58
COOL

Reply
 

Add comment

Security code
Refresh


Welcome to QJ.Net!

If you want your comments to go live without waiting for moderation, you need to be logged in. Being logged in has its benefits:
  • Logged in members do not wait for their comments to be approved.
  • Logged in members can create Profiles to be seen by other users.
So why wait? Create an account or login now! It's easy, quick, and free.

To get started, use the LOGIN boxes, or the REGISTER link below!



Want to learn more about the team who brings you the QJ news?

Read about them now!


RSS Feeds Follow us on Twitter Find us on Facebook
Login:

HOT FLASH GAMES

Monster Truck Jumper

Left to Die

The Empire 2

Dark Dimension

Town Drift Competition

Heroes of the Sword