2016-10-31, 11:20
Hello
I'm new to skinning and animations so please be patient with me.
I like to get the following result.
1) The animation block should loop forever.
2) First the image should zoom from 0% to 150% and second
3) The animation should slide from the zoomed position to the left corner
4) wait 20 seconds and restart the whole animation
So the animations should run after and not together. Is this possible?
I have tried this so far but it's not working the animation is not starting the image apears only.
Thanks for helping.
I'm new to skinning and animations so please be patient with me.
I like to get the following result.
1) The animation block should loop forever.
2) First the image should zoom from 0% to 150% and second
3) The animation should slide from the zoomed position to the left corner
4) wait 20 seconds and restart the whole animation
So the animations should run after and not together. Is this possible?
I have tried this so far but it's not working the animation is not starting the image apears only.
Code:
<control type="image">
<posx>400</posx>
<posy>200</posy>
<width>200</width>
<height>200</height>
<texture>star.png</texture>
<aspectratio scalediffuse="false">keep</aspectratio>
<visible>Skin.HasSetting(star)</visible>
<animation type="visible">
<effect type="zoom" start="0,0" end="150,150" time="5000" center="auto" />
<effect type="slide" start="0,0" end="-2120,0" time="5000" />
</animation>
</control>