animX - An animation library for love2d

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
YoungNeer
Party member
Posts: 118
Joined: Wed May 15, 2019 7:49 am

animX - An animation library for love2d

Post by YoungNeer »

Let's say you have this spritesheet:-


Image


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()
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
Attachments
Side Scroller.love
(1.49 MiB) Downloaded 487 times
My Github- your contribution is highly appreciated
Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests