animation methods anim8

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
torreao
Prole
Posts: 1
Joined: Wed Sep 17, 2014 1:12 am

animation methods anim8

Post by torreao »

what are the strings representing animation methods in anima8 ?

Can you give examples?
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: animation methods anim8

Post by kikito »

anim8 has no animation methods. Are you looking at an older version?

EDIT:

You mean an example of each of the methods of the actual Animation "class"?

You usually only need two: animation:update(dt), which moves the animation forward (or backward) a bit, and animation:draw(), which draws it on the screen. If you don't know the others, you probably don't need them yet :)

You can see the code of the demo in the demo branch, in case you want to give it a look: https://github.com/kikito/anim8/tree/demo
When I write def I mean function.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests