Reversing a tweened animation
#1
Code:
<animation effect="slide" time="600" tween="cubic" easing="out" end="0,100" condition="Control.HasFocus(6000)">Conditional</animation>

I want this animation to ease out at the end, and to do the same thing when it's reversed. Kodi is able to reverse the animation when moving back from control id 6000, but the 'out' tween becomes an 'in' tween in the process, which looks wrong. How can I avoid this?
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply
#2
Would this work?

Code:
<animation effect="slide" time="600" tween="cubic" easing="out" end="0,100" condition="Control.HasFocus(6000)" reversible="false">Conditional</animation>
<animation effect="slide" time="600" tween="cubic" easing="out" start="0,100" end="0,0" condition="!Control.HasFocus(6000)" reversible="false">Conditional</animation>
Reply
#3
Works perfectly. Cheers!
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply

Logout Mark Read Team Forum Stats Members Help
Reversing a tweened animation0