what are the strings representing animation methods in anima8 ?
Can you give examples?
animation methods anim8
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: animation methods anim8
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
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.
Who is online
Users browsing this forum: Bing [Bot] and 6 guests