| |||||||
| Skins You are working on a new Skin? Post it here! |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Retired Team Member Join Date: Jul 2005
Posts: 313
Thanks: 0
Thanked 8 Times in 4 Posts
| i wanted to create a background animation for my skin. for that i need an image to fade in and out forever. i have searched the wiki, but i could not find anything. how can i make an animation repeat itself forever? if this isnt implemented, it would be nice to implement something like repeatafter="time_in_msecs" |
| | |
| |
| | #2 (permalink) |
| Retired Team Member Join Date: Jul 2005
Posts: 313
Thanks: 0
Thanked 8 Times in 4 Posts
| another idea for animations: make it possible to animate an image on top of a control (ie have a gutton that is blue and a white picture fading on top of it, creates a nice effect) |
| | |
| | #3 (permalink) |
| Portal Designer Join Date: May 2004 Location: Germany
Posts: 930
Thanks: 99
Thanked 214 Times in 52 Posts
Country: | Hi. you can do it with this : <control> <type>multiimage</type> <id>1</id> <width>720</width> <height>576</height> <imagepath>back</imagepath> <timeperimage>150</timeperimage> <fadetime>100</fadetime> <loop>yes</loop> <randomize>false</randomize> <animation effect="fade" time="200">VisibleChange</animation> </control> For a animation on top for a button you can create a common.ButtonAnimation.xml like this: <window> - <controls> - <control> <description>ButtonAnimation</description> <type>animation</type> <textures>Animations\Button000014.png;Animations\B utton000013.png;Animations\Button000012.png;Animat ions\Button000011.png</textures> <Duration>0:0:04</Duration> <RepeatBehavior>Forever</RepeatBehavior> <FillBehavior>HoldEnd</FillBehavior> </control> </controls> </window> and import it to your buttoncontrol like this: <control> <description>default button</description> <type>button</type> <id>1</id> <posX>300</posX> <posY>200</posY> <width>190</width> <height>32</height> <textXOff>10</textXOff> <textYOff>5</textYOff> <textureFocus>common.ButtonAnimation.xml</textureFocus> <textureNoFocus>menu_list_nofocus.png</textureNoFocus> <font>font13</font> <textcolor>ffffffff</textcolor> <colordiffuse>ffffffff</colordiffuse> <disabledcolor>60ffffff</disabledcolor> </control> Greetings Harley ![]()
__________________ http://www.mediaportal-skins.net Last edited by Harley; 2007-01-30 at 14:08. |
| | |
| | #4 (permalink) |
| Retired Team Member Join Date: Jul 2005
Posts: 313
Thanks: 0
Thanked 8 Times in 4 Posts
| <loop>yes</loop> doesnt work for me. here is my code: Code:
<control>
<animation effect="fade" time="3000" repeat="2">WindowOpen</animation>
<animation effect="fade" time="3000" repeat="2" delay="18000" start="100" end="0">WindowOpen</animation>
<loop>yes</loop>
<type>image</type>
<description>background image1</description>
<id>2</id>
<posX>470</posX>
<posY>10</posY>
<width>250</width>
<height>576</height>
<texture>COMMON.BACKGROUND.LAYER1.PNG</texture>
</control>
<control>
<animation effect="fade" time="3000" repeat="2" delay="3000">WindowOpen</animation>
<animation effect="fade" time="3000" repeat="2" delay="15000" start="100" end="0">WindowOpen</animation>
<loop>yes</loop>
<type>image</type>
<description>background image2</description>
<id>2</id>
<posX>250</posX>
<posY>0</posY>
<width>470</width>
<height>576</height>
<texture>COMMON.BACKGROUND.LAYER2.PNG</texture>
</control>
<control>
<animation effect="fade" time="3000" repeat="2" delay="6000">WindowOpen</animation>
<animation effect="fade" time="3000" repeat="2" delay="12000" start="100" end="0">WindowOpen</animation>
<loop>yes</loop>
<type>image</type>
<description>background image3</description>
<id>2</id>
<posX>10</posX>
<posY>370</posY>
<width>670</width>
<height>200</height>
<texture>COMMON.BACKGROUND.LAYER3.PNG</texture>
</control>
when the button is selected, i want it to display the selectedtexture and have a fading animation with another image on top of that. |
| | |
| | #5 (permalink) |
| Portal Designer Join Date: May 2004 Location: Germany
Posts: 930
Thanks: 99
Thanked 214 Times in 52 Posts
Country: | ..take a look at my code you must use the multiimagefunktion ![]() and for animation on top see my edit. Harley .)
__________________ http://www.mediaportal-skins.net |
| | |
| | #6 (permalink) |
| Retired Team Member Join Date: Jul 2005
Posts: 313
Thanks: 0
Thanked 8 Times in 4 Posts
| multiimage doesnt work either. and for animation on top of a button, i mean a fade animation, not an an animation where i have to create every single image. Code: <control>
<animation effect="fade" time="3000" repeat="2">WindowOpen</animation>
<animation effect="fade" time="3000" repeat="2" delay="18000" start="100" end="0">WindowOpen</animation>
<loop>yes</loop>
<type>multiimage</type>
<description>background image1</description>
<id>2</id>
<posX>470</posX>
<posY>10</posY>
<width>250</width>
<height>576</height>
<imagepath>COMMON.BACKGROUND.LAYER1.PNG</imagepath>
<timeperimage>3000</timeperimage>
<fadetime>3000</fadetime>
<randomize>false</randomize>
</control>
<control>
<animation effect="fade" time="3000" repeat="2" delay="3000">WindowOpen</animation>
<animation effect="fade" time="3000" repeat="2" delay="15000" start="100" end="0">WindowOpen</animation>
<loop>yes</loop>
<type>multiimage</type>
<description>background image2</description>
<id>2</id>
<posX>250</posX>
<posY>0</posY>
<width>470</width>
<height>576</height>
<imagepath>COMMON.BACKGROUND.LAYER2.PNG</imagepath>
<timeperimage>3000</timeperimage>
<fadetime>3000</fadetime>
<randomize>false</randomize>
</control>
<control>
<animation effect="fade" time="3000" repeat="2" delay="6000">WindowOpen</animation>
<animation effect="fade" time="3000" repeat="2" delay="12000" start="100" end="0">WindowOpen</animation>
<loop>yes</loop>
<type>multiimage</type>
<description>background image3</description>
<id>2</id>
<posX>10</posX>
<posY>370</posY>
<width>670</width>
<height>200</height>
<imagepath>COMMON.BACKGROUND.LAYER3.PNG</imagepath>
<timeperimage>3000</timeperimage>
<fadetime>3000</fadetime>
<randomize>false</randomize>
</control>
Last edited by wertzui; 2007-01-30 at 14:42. |
| | |
| | #7 (permalink) |
| Portal Designer Join Date: May 2004 Location: Germany
Posts: 930
Thanks: 99
Thanked 214 Times in 52 Posts
Country: | Wertzui, you must use a Multiimage like this steps : 1. you create a control like this: <control> <type>multiimage</type> <id>1</id> <width>720</width> <height>576</height> <imagepath>back</imagepath> <timeperimage>150</timeperimage> <fadetime>100</fadetime> <loop>yes</loop> <randomize>false</randomize> <animation effect="fade" time="200">VisibleChange</animation> </control> 2. you must create a new folder, in this example with the Name "back", in the Folder Media/animations. 3. you must put your images for the animation in this Folder Media/animations/back. The images in the Folder "back" will be used in the animation, in the steps like the names are set, for example: if you name your gfx Picture1, Picture2, Picture3.... It will play it in this sequence. 1,2,3 So you must use multiimages, then it works fine ![]() Harley
__________________ http://www.mediaportal-skins.net |
| | |
| | #9 (permalink) |
| Portal Designer | I guess what wertui means is how to loop using the NEW animation options, such as fade/slide/zoom etc. These are much smoother and easier to create too. Unless already in, perhaps a property could be added to allow for such looping? (*wink*wink* @ rtv ;-)) It would then be easy to do bg animations. You could even easily reverse the animations easily by creating another one in reverse but with the delay set to the time of the first animation. Anyways...
__________________ There are only two industries that refer to their customers as "users". - Edward Tufte |
| | |
![]() |
| Bookmarks |
| Tags |
| animations, repeat |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| repeat and shuffle support within MP | Orco | Improvement Suggestions | 2 | 2006-12-16 09:46 |
| Hauppauge remote, not working. | Haplo | General Support | 17 | 2006-02-18 04:24 |
| Hauppauge 45 Buttons in My Video Fullscreen/back button bug | miljbee | The old Bugreport Forum | 4 | 2006-02-10 18:51 |
| Loosing control using Hauppage remote | slyhne | General Support | 8 | 2006-02-10 17:23 |
| Repeat playback and Play count | MungoBBQ | Improvement Suggestions | 0 | 2005-06-16 09:10 |