<screen name="Main Menu" defaultTheme="resource/themes/shellTheme.xml">

	<keyAction key="Q" type="ascii" action="quit" />
	<keyAction key="O" type="ascii" action="mainMenuOptions" />

	<group opacity="0.8" > <!-- used for debugging/testing the main menu screen without the menu displayed (set opacity="0") -->
	
		<modifier type="wave" name="buttonWave1" xPeriod="3" xAmplitude="0.5" yPeriod="4" yAmplitude="1" />
		<modifier type="wave" name="buttonWave2" xPeriod="3" xAmplitude="1" yPeriod="4.4" yAmplitude="1" phase="2.5"/>
		<modifier type="wave" name="buttonWave3" xPeriod="3" xAmplitude="0.2" yPeriod="3.9" yAmplitude="1" phase="1.5" />
	<modifier type="wave" name="²¨5" yPeriod="1.75" yAmplitude="-5" xAmplitude="-5" xPeriod="1.5" />
		<group detail="1,2" name="logo" x="400" y="130" modifier="buttonWave3">
	<particleSystem x="10" y="50" file="resource/fx/bonusStarFx.xml" />
			<image name="logo" file="resource/shell/logo.jpg" pivot="center"  smoothType="smoothAll"  />
			<image name="ZZ" file="resource/shell/ZZ.png" pivot="center" x="120" y="0" alphaType="blend" />
		</group>
	
		
		<group detail="0" name="logoLow" x="400" y="100">
			<image name="logo" file="resource/shell/logo.jpg" pivot="center"/>
			<image name="ZZ" file="resource/shell/ZZ.png" pivot="center" x="120" y="0"/>
		</group>
		

		<group name="newGameBtnsHigh" y="5">
			<imageButton name="newGameBtnImg" 
				upImg="resource/shell/mm_startGame_normal.jpg" 
				overImg="resource/shell/mm_startGame_high.jpg" 
				pivot="center"
				x="115" y="50"
				action="½øÈëÃ°ÏÕÄ£Ê½"
				overSound="resource/sounds/1.ogg" 
				activeSound="resource/sounds/mouseDown.ogg"
				modifier="buttonWave1"
				smoothType="smoothAll"
			/>
		</group>


		<group name="secondaryBtnsHigh" y="-20" >

			<imageButton name="optionsBtn" 
				upImg="resource/shell/mm_options_normal.jpg" 
				overImg="resource/shell/mm_options_high.jpg"
				pivot="center"
				action="mainMenuOptions"
				x="85" y="155"  
				overSound="resource/sounds/mouseOver.ogg" 
				activeSound="resource/sounds/mouseDown.ogg" 
				modifier="buttonWave3"
				smoothType="smoothAll"
			/>


			<imageButton name="quitBtnImg" 
				upImg="resource/shell/mm_quit_normal.jpg" 
				overImg="resource/shell/mm_quit_high.jpg"
				pivot="center"
				x="740" y="585" action="quit"  
				overSound="resource/sounds/mouseOver.ogg" 
				activeSound="resource/sounds/mouseDown.ogg" 
				smoothType="smoothAll"
			/>
		</group>


		<group>
			<imageButton name="creditsBtnImg" 
				upImg="resource/splash/popCapLogo.png" modifier="²¨5"
				overImg="resource/shell/popcaplogo.png"
				pivot="radius"
				x="665" y="40" action="credits"  
				overSound="resource/sounds/mouseOver.ogg" 
				activeSound="resource/sounds/mouseDown.ogg" 
			/>	

			<imageButton name="gameLinkBtn" 
				upImg="resource/shell/mm_noExport_moreGamesBtn.jpg" 
				overImg="resource/shell/mm_noExport_moreGamesBtn.jpg"
				pivot="center"
				x="600" y="100"
				action="gameLinkClick"  
				overSound="resource/sounds/mouseOver.ogg" 
				activeSound="resource/sounds/mouseDown.ogg" 
			/>	

		</group>


		<group x="100" y="505" >
			<image name="loginBg" 
				file="resource/shell/mm_loginBg.jpg"
				pivot="center"
				x="0" y="0" />

			<imageButton name="notMeBtnImg" 
				upImg="resource/shell/mm_switchUser_normal.jpg" 
				overImg="resource/shell/mm_switchUser_high.jpg"
				pivot="center"
				x="0" y="60" action="switchUser"  
				overSound="resource/sounds/mouseOver.ogg" 
				activeSound="resource/sounds/mouseDown.ogg" 
			/>	
				


			<text
				name="welcomeText"
				font="textFontSmall"
				xAlign="center"
				string="Welcome"
				x="0" y="-20"
				/>

			<text
				name="userNameText"
				font="textFontMed"
				xAlign="center"
				string=""
				x="0" y="0"
				/>

			<textButton
				name="debugSelect"
				string="Debug Select"
				upColor="200,200,200"
				overColor="255,255,255"
				action="debugSelectLevel"
				font="textFontMed"
				xAlign="center"
				yAlign="middle"
				x="0" y="-45"
				overSound="resource/sounds/mouseOver.ogg"
				activeSound="resource/sounds/mouseDown.ogg"
				smoothType="none"
				/>
		</group>
	</group>
</screen>