Page 1 of 1

A sprite walking animation

Posted: Mon Mar 05, 2012 5:22 pm
by xaxes
Hi, I would like to create a sprite animation. My sprites are here and my code here. I wrote a simple "animation"(without AnAL), but I don't know how to make animation with 3 frames. I read that AnAL library will be the best to do this.

Re: A sprite walking animation

Posted: Mon Mar 05, 2012 6:02 pm
by molul
It is. You can start by having a look to the small tutorial in the wiki: https://love2d.org/wiki/AnAL

Re: A sprite walking animation

Posted: Mon Mar 05, 2012 6:13 pm
by xaxes
I read this(and some topics on forum), but I don't know how to put a quad into animation's frame. Can anybody explain this for me(in simple English, if it's possible)?

Re: A sprite walking animation

Posted: Mon Mar 05, 2012 6:21 pm
by coffee
See this thread viewtopic.php?f=4&t=4773
You have a non-anal example with quads here viewtopic.php?f=4&t=4773#p41616

Re: A sprite walking animation

Posted: Mon Mar 05, 2012 6:27 pm
by molul
When you say
xaxes wrote:I don't know how to put a quad into animation's frame
what do you exactly mean?

I think I can help you, I just need to know what's exactly your problem.

Re: A sprite walking animation

Posted: Mon Mar 05, 2012 6:31 pm
by coffee
molul wrote:When you say
xaxes wrote:I don't know how to put a quad into animation's frame
what do you exactly mean?

I think I can help you, I just need to know what's exactly your problem.
I think he means that wants to lean the basics and dive in Anal for understand animation mechanics isn't really so easy for starters
so thelinx's example have the basic without complications
download/file.php?id=3498

Re: A sprite walking animation

Posted: Mon Mar 05, 2012 6:54 pm
by xaxes
coffee wrote:
molul wrote:When you say
xaxes wrote:I don't know how to put a quad into animation's frame
what do you exactly mean?

I think I can help you, I just need to know what's exactly your problem.
I think he means that wants to lean the basics and dive in Anal for understand animation mechanics isn't really so easy for starters
so thelinx's example have the basic without complications
download/file.php?id=3498
Thank you! I must understand your code now, but it isn't problem. :)