Doesnt Löve have its own sprite animation libs?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
srcn
Citizen
Posts: 59
Joined: Fri Dec 28, 2012 2:22 am
Location: Tartu
Contact:

Doesnt Löve have its own sprite animation libs?

Post by srcn »

I just cant find a way to create animated sprites. I see 0.5 had animation class but with 0.6 it was removed. What should I do for that?
I am a mad scientist!
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Doesnt Löve have its own sprite animation libs?

Post by Nixola »

You can either implement them on your own or use other libraries, such as Anim8 or AnAL
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Doesnt Löve have its own sprite animation libs?

Post by BlackBulletIV »

Here's the link to anim8: https://github.com/kikito/anim8

The way to implement it on your own is to make a Quad for each frame, and cycle through those quads. That's the basic idea, though the implementation details are a bit more complicated, of course.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 4 guests