Kodi Community Forum
v18 how do you zoom out image after rotate ? - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
--- Thread: v18 how do you zoom out image after rotate ? (/showthread.php?tid=343112)



how do you zoom out image after rotate ? - the_other_guy - 2019-04-18

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


RE: repeat a rotate animation on a widget ? it will only work 1 time - the_other_guy - 2019-04-18

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 >