MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Skins


Skins You are working on a new Skin? Post it here!

Reply
 
Thread Tools Display Modes
Old 2007-05-26, 06:23   #1 (permalink)
Portal User
 
Join Date: May 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default Slide image from off screen?

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
PiNPOiNT is offline   Reply With Quote
Old 2007-05-26, 13:01   #2 (permalink)
Portal Designer
 
mirk's Avatar
 
Join Date: Jun 2006
Location: Växjö, Sweden
Age: 25
Posts: 845
Thanks: 43
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 13:05.
mirk is offline   Reply With Quote
Old 2007-05-27, 01:46   #3 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: Sydney
Age: 28
Posts: 236
Thanks: 3
Thanked 2 Times in 2 Posts

Country:

My System

Default

Here is a copy of the code in which i have something slide in from off screen the move up when the window is opened.

Code:
		<control>
			<description>menu cover top</description>
			<type>image</type>
			<id>0</id>
			<posX>300</posX>
			<posY>130</posY>
			<width>711</width>
			<height>178</height>
			<texture>menu_cover_top.png</texture>
      <animation effect="fade" time="200" delay="310">WindowOpen</animation>
      <animation effect="fade" time="400" delay="400">WindowClose</animation>
      <animation effect="slide" time="400" start="-800,0" delay="310">WindowOpen</animation>
      <animation effect="slide" time="400" start="0,0" end="0,-100" delay="700">WindowOpen</animation>
      <animation effect="slide" time="400" start="0,-100" end="0,0" >WindowClose</animation>
      <animation effect="slide" time="400" end="800,0" delay="400" >WindowClose</animation>
		</control>

"start=0,0" is the starting pixal off set for the slide from the orignal postion( <posX>300</posX><posY>130</posY>).

"end=0,0" is the end of the slide pixal off set
Forgotten Illustrator is offline   Reply With Quote
Reply

Bookmarks

Tags
image, screen, slide

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slide show format. Mickomalley MediaPortal 1 Talk 2 2008-07-15 21:51
No video image in full screen jema General Support 6 2007-10-01 19:57
"ghost image" bar that scrolls up the screen... nettech_gt General Support 4 2006-02-28 03:55
No TV or DVD Image on TV screen elberja General Support 1 2006-01-26 15:47
Slide Show Features tthomas Improvement Suggestions 4 2005-01-06 17:06


All times are GMT +1. The time now is 02:28.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress