﻿<?xml version="1.0" encoding="UTF-8"?>

<theme>

	<formatVersion>7</formatVersion>


<!---------- STORYBOARDS --------->

<!---------- SYSTEM ANIMATIONS ---------->

		<view name="system">

    <image name="backHelp, backHelpLine" extra="true">
		<opacity>0</opacity>
		<storyboard>
        		<animation property="opacity" from="0" to="1" begin="450" duration="550" mode="linear"/>
		</storyboard>

	</image>

    <image name="bezel" extra="true">
		<opacity>0</opacity>
		<storyboard>
        		<animation property="opacity" from="0" to="1" begin="1500" duration="300" mode="linear"/>
		</storyboard>

	</image>
	
	<image name="frame_skin" extra="true">

		<storyboard>
        		<animation property="opacity" from="0" to="0" begin="0" duration="300" mode="linear"/> 
        		<animation property="opacity" from="0" to="1" begin="300" duration="1500" mode="linear"/> 
		</storyboard>
		
	</image>
	
	<text name="system_full_name" extra="true">

		<storyboard>
        		<animation property="opacity" from="0" to="1" begin="0" duration="100" mode="linear"/> 
        		<animation property="x" from="0.05" begin="0" duration="150" mode="linear"/> 
        		<animation property="scale" from="1" to="1" begin="0" duration="450" mode="linear"/> 
        		<animation property="opacity" from="1" to="0" begin="900" duration="100" mode="linear"/> 
        		<animation property="x" to="-0.05" begin="900" duration="150" mode="linear"/> 
		</storyboard>

	</text>
	
	<image name="background" extra="true">

		<storyboard>
        		<animation property="opacity" from="0" to="0" begin="0" duration="300" mode="linear"/> 
        		<animation property="opacity" from="0" to="1" begin="300" duration="150" mode="linear"/> 
				<animation property="w" from="0" begin="150" duration="300" mode="easyOut"/>
		</storyboard>
		
	</image>

	<image name="background" extra="true" ifSubset="carousel:wheelLeft">

		<storyboard>
        		<animation property="opacity" from="1" to="1" begin="0" duration="300" mode="linear"/> 
		</storyboard>
		
	</image>

	<image name="fade" extra="true" ifSubset="carousel:wheelLeft">
		<storyboard>
        <animation property="opacity" from="1" to="0" begin="750" duration="150" mode="easeIn"/>
		</storyboard>
	</image>
	
	<image name="carouselCharacter" extra="true" ifSubset="carousel:wheelLeft">
		<storyboard>
        <animation property="offsetX" from="0.5" duration="150" mode="easeOut"/>
        <animation property="opacity" from="1" to="0" begin="750" duration="150" mode="easeIn"/>
		</storyboard>
	</image>
	
	<image name="carouselCharacter2" extra="true" ifSubset="carousel:wheelLeft">
		<storyboard>
        <animation property="opacity" from="0" duration="150" mode="easeOut"/>
        <animation property="offsetX" from="-0.0025" to="0.0025" duration="850" mode="linear"/>
        <animation property="opacity" from="1" to="0" begin="750" duration="150" mode="easeIn"/>
		</storyboard>
	</image>

    <image name="logo"  ifSubset="carousel:wheelLeft">
		<opacity>1</opacity>      
		<storyboard event="activate">
        <animation property="opacity" from="1" to="0" begin="1000" duration="500" mode="easeIn"/>
        <animation property="offsetX" to="-1" begin="750" duration="750" mode="easeIn"/>
		</storyboard>
		<storyboard event="deactivate">
        <animation property="opacity" from="0.6" to="0" begin="1000" duration="500" mode="easeIn"/>
        <animation property="offsetX" to="-1" begin="750" duration="750" mode="easeIn"/>
		</storyboard>
		<storyboard event="scroll">
        <animation property="opacity" from="0.6" to="0" begin="1000" duration="500" mode="easeIn"/>
        <animation property="offsetX" to="-1" begin="750" duration="750" mode="easeIn"/>
		</storyboard>
	</image>
	
	<image name="static_background" extra="true">

		<storyboard>
        		<animation property="opacity" to="0" begin="300" duration="1500" mode="linear"/> 
        		<animation property="reflexion" to="0.05 0" begin="0" duration="15" autoreverse="true" repeat="forever" mode="linear"/> 
		</storyboard>
		
	</image>

	<image name="static_background" extra="true" ifSubset="carousel:wheelLeft">

		<storyboard>
        		<animation property="opacity" to="0" begin="700" duration="250" mode="linear"/> 
        		<animation property="reflexion" to="0 0" begin="0" duration="1" mode="linear"/> 
				<animation property="offsetX" from="0.0025" to="-0.0025" duration="850" mode="linear"/>
		</storyboard>
		
	</image>
	
	<video name="loop" extra="true">

		<storyboard>
        		<animation property="opacity" from="0" to="0" begin="0" duration="300" mode="linear"/> 
        		<animation property="opacity" from="0" to="1" begin="150" duration="350" mode="linear"/> 
				<animation property="h" from="0" begin="150" duration="350" mode="bump"/>
		</storyboard>
		
	</video>

	<text name="systemInfo" ifSubset="screen ratio:169">

		<storyboard>
        		<animation property="y" from="0.7" begin="1300" duration="350" mode="easeOutQuint"/>
        		<animation property="reflexion" from="0 0" begin="350" duration="350" mode="easeOut"/>
        		<animation property="scale" to="1.05" begin="0" duration="200" autoreverse="true" repeat="forever" mode="easeOut"/>
        		<animation property="opacity" from="0" to="0" duration="1300" mode="linear"/>
        		<animation property="opacity" from="0" to="1" begin="1300" duration="350" mode="linear"/>
		</storyboard>
		
	</text>
	
	<text name="systemInfo" ifSubset="screen ratio:43">

		<storyboard>
        		<animation property="y" from="1.25" begin="0" duration="1800" mode="easeOut"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
        		<animation property="reflexion" from="0.1 0" to="0.30 0" begin="0" duration="15" autoreverse="true" repeat="forever" mode="bump"/>
		</storyboard>
		
	</text>

	<image name="controller" extra="true">

		<storyboard repeatAt="2901">
        		<animation property="x" from="4" begin="0" duration="2100" mode="easeOut"/>
        		<animation property="scale" to="0.95" begin="2100" duration="800" mode="easeIn"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
        		<animation property="rotation" to="-5" begin="6000" duration="100" mode="easeIn"/>				
        		<animation property="rotation" to="5" begin="6100" duration="100" mode="easeIn"/>				
        		<animation property="rotation" to="-5" begin="6200" duration="100" mode="easeIn"/>				
        		<animation property="rotation" to="5" begin="6300" duration="100" mode="easeIn"/>				
        		<animation property="rotation" to="0" begin="6400" duration="100" mode="easeIn"/>				
		</storyboard>
		
	</image>

    <image name="logostatic" extra="true">

		<storyboard>
        		<animation property="y" from="-0.5" begin="0" duration="1800" mode="easeOut"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
        		<animation property="opacity" from="0" to="1" begin="350" duration="15" autoreverse="true" repeat="forever" mode="bump"/>
		</storyboard>
		
	</image>

    <image name="logostatic2" extra="true">

		<storyboard>
        		<animation property="y" from="-0.5" begin="0" duration="1800" mode="easeOut"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
	</image>

	<image name="logo_light" extra="true">

		<storyboard>		
        		<animation property="opacity" from="0" to="0" duration="800" mode="linear"/>
        		<animation property="opacity" from="0" to="1"  begin="800" duration="600" mode="easyIn"/>
        		<animation property="w" to="1.01" duration="5" autoreverse="true" repeat="forever" mode="linear"/>
        		<animation property="scale" to="1.1" duration="5000" autoreverse="true" repeat="forever" mode="linear"/>
        		<animation property="y" to="0.55" duration="5000" autoreverse="true" repeat="forever" mode="linear"/>
		</storyboard>
		
	</image>

	<image name="logo_light" extra="true" ifSubset="carousel:wheelLeft">

		<storyboard>		
        		<animation property="opacity" from="0" to="1"  begin="0" duration="200" mode="easyIn"/>
        		<animation property="w" to="1.01" duration="5" autoreverse="true" repeat="forever" mode="linear"/>
        		<animation property="scale" to="1.1" duration="5000" autoreverse="true" repeat="forever" mode="linear"/>
        		<animation property="y" to="0.55" duration="5000" autoreverse="true" repeat="forever" mode="linear"/>
		</storyboard>
		
	</image>
	
	<image name="easter_egg" extra="true">

		<storyboard repeatAt="0">
	        		<animation property="y" to="1" begin="15000" duration="600" mode="easeOut"/>
					<animation property="y" to="2" begin="17000" duration="600" mode="easeIn"/>
	        		<animation property="y" to="1" begin="120000" duration="600" mode="easeOut"/>
					<animation property="y" to="2" begin="122000" duration="600" mode="easeIn"/>
	        		<animation property="y" to="1" begin="150000" duration="600" mode="easeOut"/>
					<animation property="y" to="2" begin="152000" duration="600" mode="easeIn"/>
	        		<animation property="y" to="1" begin="200000" duration="600" mode="easeOut"/>
					<animation property="y" to="2" begin="202000" duration="600" mode="easeIn"/>
		</storyboard>

	</image>

	<image name="easter_egg_left" extra="true">

		<storyboard repeatAt="500">
	        		<animation property="x" to="-0" begin="60000" duration="600" mode="easeOut"/>
					<animation property="x" to="-1" begin="62000" duration="600" mode="easeIn"/>
	        		<animation property="x" to="-0" begin="90000" duration="600" mode="easeOut"/>
					<animation property="x" to="-1" begin="92000" duration="600" mode="easeIn"/>
	        		<animation property="x" to="-0" begin="150000" duration="600" mode="easeOut"/>
					<animation property="x" to="-1" begin="152000" duration="600" mode="easeIn"/>
	        		<animation property="x" to="-0" begin="240000" duration="600" mode="easeOut"/>
					<animation property="x" to="-1" begin="242000" duration="600" mode="easeIn"/>
		</storyboard>				

	</image>

	<image name="easter_egg_up" extra="true">

		<storyboard repeatAt="1000">
	        		<animation property="y" to="-0" begin="30000" duration="600" mode="easeOut"/>
					<animation property="y" to="-1" begin="32000" duration="600" mode="easeIn"/>
	        		<animation property="y" to="0" begin="75000" duration="600" mode="easeOut"/>
					<animation property="y" to="-1" begin="77000" duration="600" mode="easeIn"/>
	        		<animation property="y" to="0" begin="150000" duration="600" mode="easeOut"/>
					<animation property="y" to="-1" begin="152000" duration="600" mode="easeIn"/>
	        		<animation property="y" to="0" begin="260000" duration="600" mode="easeOut"/>
					<animation property="y" to="-1" begin="262000" duration="600" mode="easeIn"/>
		</storyboard>

	</image>

	<image name="easter_egg_right" extra="true">

		<storyboard repeatAt="1500">
	        		<animation property="x" to="1" begin="45000" duration="600" mode="easeOut"/>
					<animation property="x" to="2" begin="47000" duration="600" mode="easeIn"/>
	        		<animation property="x" to="1" begin="135000" duration="600" mode="easeOut"/>
					<animation property="x" to="2" begin="137000" duration="600" mode="easeIn"/>
	        		<animation property="x" to="1" begin="150000" duration="600" mode="easeOut"/>
					<animation property="x" to="2" begin="152000" duration="600" mode="easeIn"/>
	        		<animation property="x" to="1" begin="220000" duration="600" mode="easeOut"/>
					<animation property="x" to="2" begin="222000" duration="600" mode="easeIn"/>
		</storyboard>				

	</image>
	
		</view>

		
		
<!---------- DETAILED VIDEO ANIMATIONS ---------->

		<view name="detailed, video">
		
    <image name="logostatic" extra="true">

		<storyboard>
        		<animation property="x" from="-0.5" begin="0" duration="350" mode="easeOut"/>
        		<animation property="opacity" from="0" to="1" begin="350" duration="15" autoreverse="true" repeat="forever" mode="bump"/>
		</storyboard>
		
	</image>

    <image name="logostatic2" extra="true">

		<storyboard>
        		<animation property="x" from="-0.5" begin="0" duration="350" mode="easeOut"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
	</image>

	<image name="logo_light" extra="true">

		<storyboard>
        		<animation property="opacity" from="0" to="1"  begin="0" duration="350" mode="easyIn"/>
        		<animation property="w" to="1.01" duration="5" autoreverse="true" repeat="forever" mode="linear"/>
        		<animation property="scale" to="1.1" duration="5000" autoreverse="true" repeat="forever" mode="linear"/>
        		<animation property="y" to="0.55" duration="5000" autoreverse="true" repeat="forever" mode="linear"/>
		</storyboard>
		
	</image>

	<image name="backmetadata, backmetadata_color" extra="true">

		<storyboard>
        		<animation property="x" from="1.5" begin="0" duration="1000" mode="linear"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
	</image>

    <image name="md_marquee">

		<storyboard>
        		<animation property="x" from="-0.5" begin="0" duration="350" mode="linear" event="" />
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
        		<animation property="reflexion" from="0 0" to="0.1 0" begin="350" duration="15" autoreverse="true" repeat="forever" mode="bump"/>
		</storyboard>
		
	</image>

    <image name="md_thumbnail">
		<storyboard>
        		<animation property="x" from="1.5" begin="0" duration="1050" mode="linear"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
        		<animation property="reflexion" from="0.1 0" to="0.20 0" begin="0" duration="15" autoreverse="true" repeat="forever" mode="bump"/>
		</storyboard>
		
	</image>

    <text name="md_name">
		<storyboard>
        		<animation property="reflexion" from="0.2 0" to="0.50 0" begin="0" duration="15" autoreverse="true" repeat="forever" mode="bump"/>
		</storyboard>
		
	</text>
	
	<image name="md_line0, md_line0_color" extra="true">

		<storyboard>
        		<animation property="x" from="1.5" begin="0" duration="1100" mode="linear"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
	</image>
	
	<image name="md_line, md_line_color" extra="true">

		<storyboard>
        		<animation property="x" from="1.5" begin="0" duration="1250" mode="linear"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
	</image>

	<image name="md_line2, md_line2_color" extra="true">

		<storyboard>
        		<animation property="x" from="1.5" begin="0" duration="1350" mode="linear"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
	</image>
		
	 <text name="md_description">

		<storyboard>
        		<animation property="x" from="1.5" begin="0" duration="1300" mode="linear"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
    </text>

	<rating name="md_rating">

		<storyboard>
        		<animation property="x" from="1.5" begin="0" duration="1400" mode="linear"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
    </rating>

	<datetime name="md_releasedate">

		<storyboard>
        		<animation property="x" from="1.5" begin="0" duration="1150" mode="linear"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
     </datetime>

	<text name="md_publisher">

		<storyboard>
        		<animation property="x" from="1.5" begin="0" duration="1200" mode="linear"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
      </text>
	  
		</view>


<!---------- BASIC ANIMATIONS ---------->

		<view name="basic">
					
    <image name="logostatic" extra="true">

		<storyboard>
        		<animation property="x" from="-0.5" begin="0" duration="350" mode="easeOut"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
        		<animation property="opacity" from="0" to="1" begin="350" duration="15" autoreverse="true" repeat="forever" mode="bump"/>
		</storyboard>
		
	</image>

    <image name="logostatic2" extra="true">

		<storyboard>
        		<animation property="x" from="-0.5" begin="0" duration="350" mode="easeOut"/>
        		<animation property="opacity" from="0" to="1" duration="350" mode="linear"/>
		</storyboard>
		
	</image>

	<image name="logo_light" extra="true">

		<storyboard>
        		<animation property="opacity" from="0" to="1"  begin="0" duration="350" mode="easyIn"/>

		</storyboard>
		
	</image>


	  
		</view>

	<view name="detailed, video, grid, gamecarousel">

    <image name="backHelp, backHelpLine" extra="true">

		<storyboard>
        		<animation property="colorEnd" to="29313300" begin="450" duration="550" mode="linear"/>
		</storyboard>

	</image>
		
	</view>
	
	<view name="gamecarousel">
	
    <image name="back_gamecarousel" extra="true">
		<storyboard>
        		<animation property="opacity" from="0" begin="0" duration="1000" mode="linear"/>
        		<animation property="x" from="-0.1" to="-0.1" begin="0" duration="350" mode="linear"/>
        		<animation property="x" from="-0.1" to="0" begin="350" duration="650" mode="linear"/>
		</storyboard>
	</image>
	
	</view>
	
<!-- control gamelist overwrite -->

<view name="detailed,video,gamecarousel" ifSubset="gameEvent:yes">
<control name="backmetadata,backmetadata_color,md_line0,md_line0_color,md_line,md_line_color,md_line2,md_line2_color,md_thumbnail,md_description,md_releasedate,md_publisher,md_rating">
<storyboard event="open">
<animation property="offsetX" from="0.5" begin="0" duration="600" mode="linear"/>
<animation property="reflexion" from="0.1 0" to="0.20 0" begin="0" duration="15" autoreverse="true" repeat="forever" mode="bump"/>
</storyboard>
<storyboard event="activateNext">
<animation property="offsetY" from="1" to="0" duration="300" mode="easeOutCubic"/>
</storyboard>
<storyboard event="activatePrev">
<animation property="offsetY" from="-1" to="0" duration="300" mode="easeOutCubic"/>
</storyboard>
<storyboard event="deactivateNext">
<animation property="offsetY" from="0" to="-1" duration="300" mode="easeOutCubic"/>
</storyboard>
<storyboard event="deactivatePrev">
<animation property="offsetY" from="0" to="1" duration="300" mode="easeOutCubic"/>
</storyboard>
</control>
<control name="md_marquee">
<storyboard event="open">
<animation property="opacity" from="0" to="1" begin="0" duration="600" mode="linear"/>
</storyboard>
<storyboard event="activateNext">
<animation property="opacity" from="0" to="1" begin="0" duration="250" mode="linear"/>
</storyboard>
<storyboard event="activatePrev">
<animation property="opacity" from="0" to="1" begin="0" duration="250" mode="linear"/>
</storyboard>
<storyboard event="deactivateNext">
<animation property="opacity" from="1" to="0" begin="0" duration="250" mode="linear"/>
</storyboard>
<storyboard event="deactivatePrev">
<animation property="opacity" from="1" to="0" begin="0" duration="250" mode="linear"/>
</storyboard>
</control>
</view>

<!-- Grid doublon with conditions -->

<view name="grid" ifSubset="gameEvent:yes,grid_view:classic">
<control name="backmetadata,backmetadata_color,md_line0,md_line0_color,md_line,md_line_color,md_line2,md_line2_color,md_thumbnail,md_description,md_releasedate,md_publisher,md_rating">
<storyboard event="open">
<animation property="offsetX" from="0.5" begin="0" duration="600" mode="linear"/>
<animation property="reflexion" from="0.1 0" to="0.20 0" begin="0" duration="15" autoreverse="true" repeat="forever" mode="bump"/>
</storyboard>
<storyboard event="activateNext">
<animation property="offsetY" from="1" to="0" duration="300" mode="easeOutCubic"/>
</storyboard>
<storyboard event="activatePrev">
<animation property="offsetY" from="-1" to="0" duration="300" mode="easeOutCubic"/>
</storyboard>
<storyboard event="deactivateNext">
<animation property="offsetY" from="0" to="-1" duration="300" mode="easeOutCubic"/>
</storyboard>
<storyboard event="deactivatePrev">
<animation property="offsetY" from="0" to="1" duration="300" mode="easeOutCubic"/>
</storyboard>
</control>
<control name="md_marquee">
<storyboard event="open">
<animation property="opacity" from="0" to="1" begin="0" duration="600" mode="linear"/>
</storyboard>
<storyboard event="activateNext">
<animation property="opacity" from="0" to="1" begin="0" duration="250" mode="linear"/>
</storyboard>
<storyboard event="activatePrev">
<animation property="opacity" from="0" to="1" begin="0" duration="250" mode="linear"/>
</storyboard>
<storyboard event="deactivateNext">
<animation property="opacity" from="1" to="0" begin="0" duration="250" mode="linear"/>
</storyboard>
<storyboard event="deactivatePrev">
<animation property="opacity" from="1" to="0" begin="0" duration="250" mode="linear"/>
</storyboard>
</control>
</view>
	
<!---------- STORYBOARDS GRID SUBSETS ---------->

	<subset name="grid_view" displayName="${lang.grid_view}">

		<include name="classic" displayName="${lang.classic}">./storyboard_grid.xml</include>
		<include name="arcade_marquees" displayName="${lang.arcade_marquees}">./storyboard_grid_arcade.xml</include>
		<include name="arcade_boxes" displayName="${lang.arcade_boxes}">./storyboard_grid_arcade.xml</include>

	</subset>

<include>./../frames/${frame.skin}/storyboard.xml</include>

</theme>
