The first question.
I understood that when use for example
Walk:apply(skeleton,time,false)
this will stop walk if time > walk duration time. (i make time increament 0.1/step, so if duration is 1.06 then it will stop after time = 1.1)
if use mix
Walk:mix(skeleton,time,false,0.5)
I know it effect is smooth animation at some frame before the end frame(not sure !). i make time increament 0.1/step, so if duration is 1.06 then it will stop after time = 1.7.
The problem is How to know when it stop to do other thing for example jump loop ?
The second question.
when i do this
local walkAnimation = skeletonData:findAnimation("walk")
local jumpAnimation = skeletonData:findAnimation("jump")
then add 2 bottons to do jump and walk animation step by step,and I can change character animation's type at any time.
The problem is in jumAnimation, it have character rotation, i mean that all character partes had rotation in some Frame.
If i do change frame to Walk in this case, character will walk but not in the vertically.! so Is there a way to fix that ?