Currently using Cocos2d-x, is there a way to properly to run an animation backwards?
Or would I just have to have a seperate animation for it. (Using the select/drag method)
Running an animation backwards
- 編集済み
We currently don't support backwards playback at runtime via AnimationState.
Creating a separate animation by copying and reverting the keys of the forward animation is currently your best option.
It's as badlogic explained. Alternatively, you could use the Timeline API:
Applying Animations - Spine Runtimes Guide: Timeline API