Hello
I'm trying to slide a image from off screen onto the main menu when it loads up.
my code is
<control>
<description>speedlines</description>
<type>image</type>
<id>1</id>
<posX>-5464</posX>
<posY>120</posY>
<texture>speedlines.png</texture>
<animation effect="slide" end="1366,0" time="2000">WindowOpen</animation>
<animation effect="slide" end="1366,0" time="2000">WindowClose</animation>
</control>
From what i understand, the image should start at negative 5646 and slide across the screen to finish at 1366 over a period of 2000ms
however when the image is starting off screen, the animation wont play it seems, is this a bug? or did i code it in correctly?
Thanks
I'm trying to slide a image from off screen onto the main menu when it loads up.
my code is
<control>
<description>speedlines</description>
<type>image</type>
<id>1</id>
<posX>-5464</posX>
<posY>120</posY>
<texture>speedlines.png</texture>
<animation effect="slide" end="1366,0" time="2000">WindowOpen</animation>
<animation effect="slide" end="1366,0" time="2000">WindowClose</animation>
</control>
From what i understand, the image should start at negative 5646 and slide across the screen to finish at 1366 over a period of 2000ms
however when the image is starting off screen, the animation wont play it seems, is this a bug? or did i code it in correctly?
Thanks