PT
Developer Forums
Register
Login
[Archived] AppGameKit Classic Chat
->
Animated Sprites
<
1
>
B
badkneecap
Joined:
21st Jun 2010
Location:
Posted:
13th Oct 2011 5:58
I have an app that takes a sprite and startes an animation when clicked. Is there a way to check if the animation is already running and what frame it is on? For example, when clicked, I display a message that it is on frame 10 out of 15?
H
Hodgey
Joined:
10th Oct 2009
Location:
Australia
Posted:
13th Oct 2011 6:45
Yep, there are the GetSpriteCurrentFrame() and the GetSpritePlaying() commands.
B
badkneecap
Joined:
21st Jun 2010
Location:
Posted:
13th Oct 2011 17:29
What documentation is there where I could have found that myself?
F
Funnell7
Joined:
8th Sep 2011
Location:
UK, England
Posted:
13th Oct 2011 17:43
http://www.appgamekit.com/documentation/home.html
B
badkneecap
Joined:
21st Jun 2010
Location:
Posted:
13th Oct 2011 19:03
I looked through that documentation and could not find that info. I only found basic sprite functionality under the "Guides" section under Sprites. Is there another section that has a better list of sprite functions?
B
Bursar
Joined:
17th Sep 2008
Location:
Posted:
13th Oct 2011 19:04
Choose 'Commands' and then 'Sprites' (or whichever area of AppGameKit takes your fancy).
B
badkneecap
Joined:
21st Jun 2010
Location:
Posted:
13th Oct 2011 19:28
Wow, don't know how I missed that. That is exactly what I was looking for.