Play animation in reverse order?

How do i play an animation in reverse order? someone out there?

1 Like

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."

@almax27 thanks…
but i already figured out the answer…

var animState = this.animComponent.play(clip);
animState.wrapMode = cc.WrapMode.Reverse; 

thanks anyway :wink:

1 Like

It helped thanks. Inline works also.
this.animComponent.play(clip).wrapMode = cc.WrapMode.Reverse;