I use texturepacker for walking animation (1 to 25 walk cycle frames), when I press some key I need to get active frame index when key pressed. Is it possible?
thanks
I use texturepacker for walking animation (1 to 25 walk cycle frames), when I press some key I need to get active frame index when key pressed. Is it possible?
thanks
sprite->getSpriteFrame()
will return the current SpriteFrame
object.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.