View Single Post
Old 2007-05-26, 14:01   #2 (permalink)
mirk
Portal Designer
 
mirk's Avatar
 
Join Date: Jun 2006
Location: Växjö, Sweden
Age: 25
Posts: 848
Thanks: 45
Thanked 58 Times in 20 Posts

Country:

My System

Default

Quote:
Originally Posted by PiNPOiNT View Post
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

Test
<control>
<description>speedlines</description>
<type>image</type>
<id>1</id>
<posX>1360</posX>
<posY>120</posY>
<texture>speedlines.png</texture>
<animation effect="slide" start="-1360,0" time="2000">WindowOpen</animation>
<animation effect="slide" end="-1360,0" time="2000">WindowClose</animation>
</control>

The skin engine has a bug that does not show the image sometimes if it has been outside the screen.
So you have to experiment with diffret values.
__________________
Download SpinSafe skins | TVSeries Logos | Swedish TV logos
Found a bug in one of the SpinSafe skins? Why not add it to the SpinSafe bugtracker...

Last edited by mirk; 2007-05-26 at 14:05.
mirk is offline   Reply With Quote