speedBackground.uip 5.18 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8" ?>
2
<UIP version="4" >
3
	<Project >
4
		<ProjectSettings author="" company="" presentationWidth="512" presentationHeight="512" maintainAspect="True" >
5 6 7
			<CustomColors count="16" >#ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff</CustomColors>
		</ProjectSettings>
		<BufferData >
8 9
			<ImageBuffer sourcepath="Gauges/maps/gaugespeed_kph.png" hasTransparency="True" />
			<ImageBuffer sourcepath="Gauges/maps/gaugespeed_mph.png" hasTransparency="True" />
10 11
		</BufferData>
		<Graph >
12
			<Scene id="Scene" controlledproperty="$speedUnitSlide @slide" >
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
				<Layer id="Layer" >
					<Camera id="Camera" />
					<Model id="speed_mph_new" >
						<Material id="Material" >
							<Image id="Material_diffusemap" />
						</Material>
					</Model>
					<Model id="speed_new" >
						<Material id="Material_001" >
							<Image id="Material_001_diffusemap" />
						</Material>
					</Model>
					<Component id="gaugespeed_background" >
						<Model id="gaugespeed_background_001" >
							<Material id="Material_002" >
								<Image id="Material_002_diffusemap" />
							</Material>
						</Model>
					</Component>
				</Layer>
			</Scene>
		</Graph>
		<Logic >
			<State name="Master Slide" component="#Scene" >
37
				<Add ref="#Layer" name="SpeedTextures" aosoftness="49.5" background="Transparent" width="100" />
38
				<Add ref="#Camera" orthographic="True" />
39
				<Add ref="#speed_mph_new" name="speed_mph" opacity="100" scale="5.12 5.12 1" sourcepath="#Rectangle" >
40 41 42
					<AnimationTrack property="opacity" type="EaseInOut" >0 100 0 0</AnimationTrack>
				</Add>
				<Add ref="#Material" diffusemap="#Material_diffusemap" shaderlighting="None" />
43
				<Add ref="#Material_diffusemap" sourcepath="Gauges/maps/gaugespeed_mph.png" />
44
				<Add ref="#speed_new" name="speed_kph" opacity="100" scale="5.12 5.12 1" sourcepath="#Rectangle" >
45 46 47
					<AnimationTrack property="opacity" type="EaseInOut" >0 100 0 0</AnimationTrack>
				</Add>
				<Add ref="#Material_001" diffusemap="#Material_001_diffusemap" shaderlighting="None" />
48
				<Add ref="#Material_001_diffusemap" sourcepath="Gauges/maps/gaugespeed_kph.png" />
49
				<Add ref="#gaugespeed_background" name="gaugespeed_background" controlledproperty="$colorSlide @slide" />
50
				<State id="Scene-kph" name="kph" playmode="Stop at end" >
51 52 53 54 55 56 57 58 59 60
					<Set ref="#Layer" endtime="1000" />
					<Set ref="#Camera" endtime="1000" />
					<Set ref="#speed_mph_new" endtime="1000" opacity="100" >
						<AnimationTrack property="opacity" type="EaseInOut" dynamic="True" >0 100 0 0 1 0 0 0</AnimationTrack>
					</Set>
					<Set ref="#speed_new" endtime="1000" opacity="100" >
						<AnimationTrack property="opacity" type="EaseInOut" dynamic="True" >0 0 0 0 1 100 0 0</AnimationTrack>
					</Set>
					<Set ref="#gaugespeed_background" endtime="1000" />
				</State>
61
				<State id="Scene-mph" name="mph" initialplaystate="Play" playmode="Stop at end" playthroughto="#Scene-kph" >
62 63 64 65 66 67 68 69 70 71 72 73
					<Set ref="#Layer" endtime="1000" />
					<Set ref="#Camera" endtime="1000" />
					<Set ref="#speed_mph_new" endtime="1000" opacity="100" >
						<AnimationTrack property="opacity" type="EaseInOut" dynamic="True" >0 0 0 0 1 100 0 0</AnimationTrack>
					</Set>
					<Set ref="#speed_new" endtime="1000" opacity="100" >
						<AnimationTrack property="opacity" type="EaseInOut" dynamic="True" >0 100 0 0 1 0 0 0</AnimationTrack>
					</Set>
					<Set ref="#gaugespeed_background" endtime="1000" />
				</State>
			</State>
			<State name="Master Slide" component="#gaugespeed_background" >
74
				<Add ref="#gaugespeed_background_001" name="gaugespeed_background" endtime="1000" scale="5.12 5.12 1" sourcepath="#Rectangle" />
75 76 77 78 79
				<Add ref="#Material_002" diffuse="1 1 1" diffusemap="#Material_002_diffusemap" shaderlighting="None" >
					<AnimationTrack property="diffuse.x" type="EaseInOut" >0 1 0 0</AnimationTrack>
					<AnimationTrack property="diffuse.y" type="EaseInOut" >0 1 0 0</AnimationTrack>
					<AnimationTrack property="diffuse.z" type="EaseInOut" >0 1 0 0</AnimationTrack>
				</Add>
80
				<Add ref="#Material_002_diffusemap" sourcepath="Gauges/maps/gaugespeed_background.jpg" />
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
				<State id="gaugespeed_background-red" name="red" >
					<Set ref="#gaugespeed_background_001" endtime="1000" />
					<Set ref="#Material_002" diffuse="1 1 1" >
						<AnimationTrack property="diffuse.x" type="EaseInOut" dynamic="True" >0 0 0 0 1 1 0 0</AnimationTrack>
						<AnimationTrack property="diffuse.y" type="EaseInOut" dynamic="True" >0 0 0 0 1 0 0 0</AnimationTrack>
						<AnimationTrack property="diffuse.z" type="EaseInOut" dynamic="True" >0 1 0 0 1 0 0 0</AnimationTrack>
					</Set>
				</State>
				<State id="gaugespeed_background-blue" name="blue" playthroughto="Previous" >
					<Set ref="#gaugespeed_background_001" endtime="1000" />
					<Set ref="#Material_002" diffuse="1 1 1" >
						<AnimationTrack property="diffuse.x" type="EaseInOut" dynamic="True" >0 1 0 0 1 0 0 0</AnimationTrack>
						<AnimationTrack property="diffuse.y" type="EaseInOut" dynamic="True" >0 0 0 0 1 0 0 0</AnimationTrack>
						<AnimationTrack property="diffuse.z" type="EaseInOut" dynamic="True" >0 0 0 0 1 1 0 0</AnimationTrack>
					</Set>
				</State>
			</State>
		</Logic>
	</Project>
</UIP>