Thanks!
Help: Animations, Spritesheets, Tigers, and Bears! Oh my!!
-
- Prole
- Posts: 35
- Joined: Mon Nov 24, 2014 6:20 am
Help: Animations, Spritesheets, Tigers, and Bears! Oh my!!
I need help with spritesheets and animating my sprites (and even making sprites). If anyone could give me some pointers and explain to me how sprites & animation libs work, that would be SO helpful. I was planning to use animated gifs, but Love doesn't Love those...
Thanks!
Thanks!
hello!
Re: Help: Animations, Spritesheets, Tigers, and Bears! Oh my
I highly recommend you to take a look at animation libraries like anim8 (https://github.com/kikito/anim8/blob/master/README.md).
The example is clean and will surely help you to get started.
Basically, you want to have all the animations for a particular object in one image (sprite sheet), that you divide in "frames". Then, you simply have to tell Löve which "parts" of the image correspond to which animation, and you can start drawing multiple animations and states from a single image.
For example, here's what a sprite sheet would look like :
Another one, which contains multiple states :
In this one, first column would be for the idle state, the second one for the side-idle state, and so on.
The example is clean and will surely help you to get started.
Basically, you want to have all the animations for a particular object in one image (sprite sheet), that you divide in "frames". Then, you simply have to tell Löve which "parts" of the image correspond to which animation, and you can start drawing multiple animations and states from a single image.
For example, here's what a sprite sheet would look like :
Another one, which contains multiple states :
In this one, first column would be for the idle state, the second one for the side-idle state, and so on.
-
- Prole
- Posts: 35
- Joined: Mon Nov 24, 2014 6:20 am
Re: Help: Animations, Spritesheets, Tigers, and Bears! Oh my
Thank you so much for helping me! I'm using anim8 now and its working swell.
hello!
Re: Help: Animations, Spritesheets, Tigers, and Bears! Oh my
Glad to hear that ! Please keep us updated
Who is online
Users browsing this forum: No registered users and 5 guests