A sprite walking animation

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
xaxes
Prole
Posts: 3
Joined: Mon Mar 05, 2012 4:58 pm

A sprite walking animation

Post 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.
Attachments
OWWpW.png
OWWpW.png (69.94 KiB) Viewed 392 times
User avatar
molul
Party member
Posts: 264
Joined: Sun Feb 05, 2012 6:51 pm
Location: Valencia, Spain
Contact:

Re: A sprite walking animation

Post by molul »

It is. You can start by having a look to the small tutorial in the wiki: https://love2d.org/wiki/AnAL
xaxes
Prole
Posts: 3
Joined: Mon Mar 05, 2012 4:58 pm

Re: A sprite walking animation

Post 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)?
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: A sprite walking animation

Post 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
User avatar
molul
Party member
Posts: 264
Joined: Sun Feb 05, 2012 6:51 pm
Location: Valencia, Spain
Contact:

Re: A sprite walking animation

Post 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.
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: A sprite walking animation

Post 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
xaxes
Prole
Posts: 3
Joined: Mon Mar 05, 2012 4:58 pm

Re: A sprite walking animation

Post 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. :)
Post Reply

Who is online

Users browsing this forum: No registered users and 76 guests