Kodi Community Forum

Full Version: how do you zoom out image after rotate ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i have set up a widget that uses the rotate and zoom animation but the rotate will only work once then it will only zoom
<animation >
       <effect type="zoom" start="100" end="40" time="500" tween="sine" easing="inout" center="240,100" />
      </animation>
      <animation effect="rotate" end="360" center="auto" time="800" loop="false" reversible="false" condition="!Player.Paused">Conditional</animation>
      <animation type="Focus">
       <effect type="zoom" start="40" end="140" time="500" tween="sine" easing="inout" center="240,100" />
      </animation>
      <animation type="Unfocus">
       <effect type="zoom" start="140" end="60" time="500" tween="sine" easing="inout" center="240,100" />
         
      </animation>

Image
i have worked it out
 <animation >
       <effect type="zoom" start="100" end="40" time="500" tween="sine" easing="inout" center="240,100" />
      </animation>
      <animation effect="rotatex" end="360" center="auto" time="800" loop="false" reversible="false" >Focus</animation>
      <animation type="Focus">
       <effect type="zoom" start="40" end="140" time="500" tween="sine" easing="inout" center="240,100" />
      </animation>
      <animation effect="rotatey" end="-360" center="auto" time="800" loop="false" reversible="true" >Unfocus</animation>
      <animation type="Unfocus">
       <effect type="zoom" start="140" end="60" time="500" tween="sine" easing="inout" center="240,100" />
       </animation>
       <animation >