How do i play an animation in reverse order? someone out there?
You could try using the Action cocos2d::ReverseTime
" Use this action carefully. This action is not
sequenceable. Use it as the default “reversed” method
of your own actions, but using it outside the “reversed”
scope is not recommended."
but i already figured out the answer…
var animState = this.animComponent.play(clip); animState.wrapMode = cc.WrapMode.Reverse;
It helped thanks. Inline works also.
this.animComponent.play(clip).wrapMode = cc.WrapMode.Reverse;