animX - An animation library for love2d
Posted: Tue Dec 03, 2019 7:40 am
Let's say you have this spritesheet:-
There are 6 sprites per row and a total of 24 images!! So you with animX you'd do just this:-
and that's it!
Now i don't want to make this a long post so I'll not demonstrate the powers of animX here. For the same reason I'm living an attachment for you to study and the link to the project as well as the documentation
There are 6 sprites per row and a total of 24 images!! So you with animX you'd do just this:-
Code: Select all
anim=animx.newAnimation{
img='glitch_crab.png', --url/reference to the image
spritesPerRow=6,
noOfFrames=24
}:loop()
Now i don't want to make this a long post so I'll not demonstrate the powers of animX here. For the same reason I'm living an attachment for you to study and the link to the project as well as the documentation