Lua Animation Lib v3

Lua Animation LibThere’s nothing like keeping the homebrew scene going by teaching PSP homebrew newbies the “tricks of the trade.” Any tutorial of some sort is always welcome in the community. After all, that newbie dev may someday actually crack the latest firmware thanks to your help.

Anyway, Grimfate 126 has a tutorial of his own, Lua Animation Lib, which as you may have guessed, teaches users the ins and outs of Lua animations for the PSP. Now, version three was just released, and it’s got loads of new functions to boot:

Function List:

  • function ANIM.new(frames, header, extension, where): loads a new animation
  • function ANIM:blit(x, y, delay): blits an animation
  • function ANIM:pause(): pauses the animation
  • function ANIM:resume(): resumes the animation
  • function ANIM:reset(num):  resets the animation (brings it back to the frame you want, which is what “num” means)
  • function ANIM:advancedBlit(x, y, delay, numloops): same as ANIM:blit() but adds a loop functionality
  • function ANIM:getTime():  returns the current timer time
  • function ANIM:getFrame(): returns the current frame of the animation
  • function ANIM:getLoops(): returns how many loops the animation has made.

Download: [Lua Animation Lib v3]
Discuss: [Forum Release Thread]

Lua Animation LibThere’s nothing like keeping the homebrew scene going by teaching PSP homebrew newbies the “tricks of the trade.” Any tutorial of some sort is always welcome in the community. After all, that newbie dev may someday actually crack the latest firmware thanks to your help.

Anyway, Grimfate 126 has a tutorial of his own, Lua Animation Lib, which as you may have guessed, teaches users the ins and outs of Lua animations for the PSP. Now, version three was just released, and it’s got loads of new functions to boot:

Function List:

  • function ANIM.new(frames, header, extension, where): loads a new animation
  • function ANIM:blit(x, y, delay): blits an animation
  • function ANIM:pause(): pauses the animation
  • function ANIM:resume(): resumes the animation
  • function ANIM:reset(num):  resets the animation (brings it back to the frame you want, which is what “num” means)
  • function ANIM:advancedBlit(x, y, delay, numloops): same as ANIM:blit() but adds a loop functionality
  • function ANIM:getTime():  returns the current timer time
  • function ANIM:getFrame(): returns the current frame of the animation
  • function ANIM:getLoops(): returns how many loops the animation has made.

Download: [Lua Animation Lib v3]
Discuss: [Forum Release Thread]

Add a Comment

Your email address will not be published. Required fields are marked *