<screen>
	<name>MainMenuScreen</name>
<layer>1</layer>
	<!-- representation of screen -->
	<rootcomponent>
		<name>mainform</name>
		<event><name>create</name>
			<node>
			</node>
		</event>
		<event><name>destroy</name>
			<node>
				<lifetime>500</lifetime>
			</node>
		</event>
		
		<!--  Logo  -->
		<component><name>logo</name>
			<event>
				<name>create</name>
				<node>
					<mesh>
						<width>256</width>
						<height>256</height>
					</mesh>
					<texture>/texture/logo/logo.png</texture>
					<position> 	<x>-256</x> <y>-172</y> <z>5</z> </position>
				</node>
			</event>
			
			<event>
				<name>destroy</name>
			</event>
		</component>

		<!-- welcome text -->
		<component><name>welcometext</name>
			<caption>$hierarchy.Screen.Main.welcomeText</caption>
			<captioncolor>0xFFFFD480</captioncolor>
			<captionshadowcolor>0xFF04091E</captionshadowcolor>
			<event>
				<name>create</name>
				<node>
					<position> 	<x>0</x> <y>-280</y> </position>
				</node>
			</event>
			<event>
				<name>destroy</name>
			</event>
		
				<!-- change profile text -->
				<component>
					<name>profilebutton</name>
					<caption>$hierarchy.Screen.Main.changeProfileText</caption>
					<captioncolor>0xFFFFFFDF</captioncolor>
					<captionscale>0.85</captionscale>
					<width>360</width>
					<height>50</height>
					<event>
						<name>create</name>
						<node>
							<position> 	<x>0</x> <y>20</y> </position>
						</node>
					</event>
					<event>
						<name>mousein</name>
						<node>
							<keyframe>
								<time>200</time>
								<scale>1.1</scale>
							</keyframe>
						</node>
					</event>
					<event>
						<name>mouseout</name>
						<node>
							<scale>1.1</scale>
							<keyframe>
								<time>200</time>
								<scale>1.0</scale>
							</keyframe>
						</node>
					</event>
				</component>
		</component>

		<!-- version -->
		<component><name>version</name>
			<align>1</align>
			<font>0</font>
			<caption>$hierarchy.Screen.Main.version</caption>
			<captioncolor>0xFFFFFFFF</captioncolor>
			<event>
				<name>create</name>
				<node>
					<position> 	<x>-390</x> <y>290</y> </position>
					<keyframe>
						<time>0</time>
						<color>0x00000000</color>
					</keyframe>
					<keyframe>
						<time>400</time>
						<color>0xFF000000</color>
					</keyframe>
				</node>
			</event>
			<event>
				<name>destroy</name>
				<node>
					<keyframe>
						<time>300</time>
						<color>0x00000000</color>
					</keyframe>
				</node>
			</event>
		</component>
		
		<!-- UNREGISTERED DEMO VERSION / Owned by: User Name -->
		<component><name>owner</name>
			<align>right</align>
			<font>0</font>
			<caption>$hierarchy.Screen.Main.unregistered</caption>
			<captioncolor>0xFF000000</captioncolor>
			<event>
				<name>create</name>
				<node>
					<position> 	<x>390</x> <y>285</y> </position>
				</node>
			</event>
			<event>
				<name>destroy</name>
			</event>
		</component>

		<!--editor-->
		<!--component><name>editorbutton</name>
			<caption>$hierarchy.Screen.Main.editorMode</caption>
			<captioncolor>0xFF000000</captioncolor>
			<captionscale>0.85</captionscale>
			<hotkey>KEY_E</hotkey>
			<width>170</width>
			<height>50</height>
			<event>
				<name>create</name>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
					<position> 	<x>260</x> <y>240</y> </position>
				</node>
			</event>
			<event>
				<name>destroy</name>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-highlight.xml</replace>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
				</node>
			</event>
		</component-->

		<!-- quest mode button -->
		<component>
			<name>questbutton</name>
			<caption>$hierarchy.Screen.Main.questMode</caption>
			<captioncolor>0xFF000000</captioncolor>
			<captionscale>0.85</captionscale>
			<hint>$hierarchy.Screen.Main.questModeHint</hint>
			<hotkey>KEY_RETURN</hotkey>
			<width>170</width>
			<height>50</height>
			<event>
				<name>create</name>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
					<position><x>-272</x><y>10</y> </position>
					<keyframe>
						<time>0</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>-30</y></position>
					</keyframe>
					<keyframe>
						<time>210</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>-30</y></position>
					</keyframe>
					<keyframe>
						<time>500</time>
						<color>0xFFFFFFFF</color>
						<scale>1</scale>
						<position><x>-272</x><y>10</y></position>
					</keyframe>
				</node>
			</event>
			<event>
				<name>destroy</name>
				<node>
					<keyframe>
						<time>0</time>
						<color>0xFFFFFFFF</color>
						<scale>1</scale>
						<position><x>-272</x><y>10</y></position>
					</keyframe>
					<keyframe>
						<time>210</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>-30</y></position>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-highlight.xml</replace>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
				</node>
			</event>
		</component>
		
		<!-- high score button -->
		<!--component>
			<name>hiscorebutton</name>
			<caption>$hierarchy.Screen.Main.highscore</caption>
			<captioncolor>0xFF04091E</captioncolor>
			<captionscale>0.85</captionscale>
			<width>100</width>
			<height>42</height>
			<event>
				<name>create</name>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
					<position> 	<x>-272</x> <y>100</y> </position>
					<keyframe>
						<time>0</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>60</y></position>
					</keyframe>
					<keyframe>
						<time>140</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>60</y></position>
					</keyframe>
					<keyframe>
						<time>430</time>
						<color>0xFFFFFFFF</color>
						<scale>1</scale>
						<position><x>-272</x><y>100</y></position>
					</keyframe>
				</node>
			</event>
			<event>
				<name>destroy</name>
				<node>
					<keyframe>
						<time>70</time>
						<color>0xFFFFFFFF</color>
						<scale>1</scale>
						<position><x>-272</x><y>100</y></position>
					</keyframe>
					<keyframe>
						<time>360</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>60</y></position>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-highlight.xml</replace>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
				</node>
			</event>
		</component-->

		<!-- options button -->
		<component>
			<name>optionsbutton</name>
			<caption>$hierarchy.Screen.Main.options</caption>
			<captioncolor>0xFF04091E</captioncolor>
			<captionscale>0.85</captionscale>
			<width>170</width>
			<height>50</height>
			<event>
				<name>create</name>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
					<position> 	<x>-272</x> <y>170</y> </position>
					<keyframe>
						<time>0</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>130</y></position>
					</keyframe>
					<keyframe>
						<time>70</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>130</y></position>
					</keyframe>
					<keyframe>
						<time>360</time>
						<color>0xFFFFFFFF</color>
						<scale>1</scale>
						<position><x>-272</x><y>170</y></position>
					</keyframe>
				</node>
			</event>
			<event><name>destroy</name>
				<node>
					<keyframe>
						<time>140</time>
						<color>0xFFFFFFFF</color>
						<scale>1</scale>
						<position><x>-272</x><y>170</y></position>
					</keyframe>
					<keyframe>
						<time>430</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>130</y></position>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-highlight.xml</replace>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
				</node>
			</event>
		</component>
		
		<!-- exit button -->
		<component>
			<name>exitbutton</name>
			<caption>$hierarchy.Screen.Main.exit</caption>
			<captioncolor>0xFF04091E</captioncolor>
			<captionscale>0.85</captionscale>
			<hotkey>KEY_ESCAPE</hotkey>
			<width>170</width>
			<height>50</height>
			<event>
				<name>create</name>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
					<position> 	<x>-272</x> <y>240</y> </position>
					<keyframe>
						<time>0</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>200</y></position>
					</keyframe>
					<keyframe>
						<time>0</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>200</y></position>
					</keyframe>
					<keyframe>
						<time>290</time>
						<color>0xFFFFFFFF</color>
						<scale>1</scale>
						<position><x>-272</x><y>240</y></position>
					</keyframe>
				</node>
			</event>
			<event><name>destroy</name>
				<node>
					<keyframe>
						<time>210</time>
						<color>0xFFFFFFFF</color>
						<scale>1</scale>
						<position><x>-272</x><y>240</y></position>
					</keyframe>
					<keyframe>
						<time>500</time>
						<color>0x00FFFFFF</color>
						<scale>1.4</scale>
						<position><x>-272</x><y>200</y></position>
					</keyframe>
				</node>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-highlight.xml</replace>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<replace>/gui/component/btn-mi-normal.xml</replace>
				</node>
			</event>
		</component>
		
		<!-- more great games -->
		<component>
			<name>morebutton</name>
			<width>200</width>
			<height>200</height>
			<hint>$hierarchy.Screen.Main.moreGamesHint</hint>
			<event>
				<name>create</name>
				<node>
					<mesh>
						<width>256</width>
						<height>256</height>
					</mesh>
					<texture>/texture/gui/more-great-games.png</texture>
					<position> 	<x>280</x> <y>-180</y> </position>
				</node>
			</event>
			<event>
				<name>destroy</name>
			</event>
		</component>
		
		<!-- buy now button -->
		<component>
			<name>buybutton</name>
			<caption>$hierarchy.Screen.Main.buyNow</caption>
			<hint>$hierarchy.Screen.Main.buyNowHint</hint>
			<captioncolor>0xFF04091E</captioncolor>
			<captionscale>0.85</captionscale>
			<width>100</width>
			<height>100</height>
			<event>
				<name>create</name>
				<node>
					<position> 	<x>280</x> <y>0</y>  </position>
					<mesh>
						<width>128</width>
						<height>128</height>
					</mesh>
					<texture>/texture/gui/buy.png</texture>
				</node>
			</event>
			<event>
				<name>destroy</name>
			</event>
			<event>
				<name>mousein</name>
				<sound>/sound/mouseover.ogg</sound>
				<node>
					<texture>/texture/gui/buy-highlight.png</texture>
				</node>
			</event>
			<event>
				<name>mouseout</name>
				<sound>/sound/mouseout.ogg</sound>
				<node>
					<texture>/texture/gui/buy.png</texture>
				</node>
			</event>
		</component>
	</rootcomponent>
</screen>