Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Animated Sprites

Author
Message
badkneecap
13
Years of Service
User Offline
Joined: 21st Jun 2010
Location:
Posted: 13th Oct 2011 05: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?
Hodgey
14
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 13th Oct 2011 06:45 Edited at: 13th Oct 2011 06:45
Yep, there are the GetSpriteCurrentFrame() and the GetSpritePlaying() commands.

badkneecap
13
Years of Service
User Offline
Joined: 21st Jun 2010
Location:
Posted: 13th Oct 2011 17:29
What documentation is there where I could have found that myself?
Funnell7
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 13th Oct 2011 17:43 Edited at: 13th Oct 2011 17:44
badkneecap
13
Years of Service
User Offline
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?
Bursar
15
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 13th Oct 2011 19:04
Choose 'Commands' and then 'Sprites' (or whichever area of AppGameKit takes your fancy).
badkneecap
13
Years of Service
User Offline
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.

Login to post a reply

Server time is: 2024-04-19 01:11:59
Your offset time is: 2024-04-19 01:11:59