hyperandroid / CAAT

Canvas Advanced Animation Toolkit
hyperandroid.github.com/CAAT
MIT License
727 stars 117 forks source link

Get animation image index #116

Closed Jeyabalan closed 11 years ago

Jeyabalan commented 11 years ago

In my activity i have used playAnimation method for playing sprite image animation, in this case how do i get the animation image index

hyperandroid commented 11 years ago

you can call

actor.backgroundImage.spriteIndex

at any moment to get the current Animation's image index.

2013/1/14 Jeyabalan notifications@github.com

In my activity i have used playAnimation method for playing sprite image animation, in this case how do i get the animation image index

— Reply to this email directly or view it on GitHubhttps://github.com/hyperandroid/CAAT/issues/116.

hyperandroid commented 11 years ago

btw, the correct place to ask for support is in the official google group:

https://groups.google.com/forum/?fromgroups#!forum/caatjs

github is intended for bugs/fixes/etc.

thanks.