<ActorFrame> <children>
<Layer 
		Type="BitmapText"
		Condition="GAMESTATE:GetPlayMode() == PLAY_MODE_RAVE"
		Font="_v 26px bold black"
		Text="@GAMESTATE:GetPlayerDisplayName(PLAYER_1)"
		OnCommand="x,SCREEN_CENTER_X-254;y,SCREEN_TOP+58;shadowlength,0;zoom,.55;maxwidth,180;addy,-100;sleep,0.5;decelerate,0.8;addy,+100"
		OffCommand="accelerate,0.8;addy,-100"
	/>
<Layer 
		Type="BitmapText"
		Condition="GAMESTATE:GetPlayMode() == PLAY_MODE_RAVE"
		Font="_v 26px bold black"
		Text="@GAMESTATE:GetPlayerDisplayName(PLAYER_2)"
		OnCommand="x,SCREEN_CENTER_X+254;y,SCREEN_TOP+58;shadowlength,0;zoom,.55;maxwidth,180;addy,-100;sleep,0.5;decelerate,0.8;addy,+100"
		OffCommand="accelerate,0.8;addy,-100"
	/>
	<Layer 
		Type="ActorFrame"
		OnCommand="addy,-100;sleep,0.5;queuecommand,TweenOn"
		OffCommand="queuecommand,TweenOff"
		ShowGameplayTopFrameMessageCommand="playcommand,TweenOn"
		HideGameplayTopFrameMessageCommand="playcommand,TweenOff"
		TweenOnCommand="decelerate,0.8;addy,+100"
		TweenOffCommand="accelerate,0.8;addy,-100"
	> 
	<children>
						<Layer 
		Type="Quad" 
		InitCommand="diffuse,#000000;zoomtowidth,294;zoomtoheight,18;diffusealpha,.4"
		OnCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+28"
		OffCommand="" 
	/>
	</children> </Layer>
<Layer 
		Type="ActorFrame"
		OnCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+27;addy,-100;sleep,0.5;queuecommand,TweenOn"
		OffCommand="queuecommand,TweenOff"
		ShowGameplayTopFrameMessageCommand="playcommand,TweenOn"
		HideGameplayTopFrameMessageCommand="playcommand,TweenOff"
		TweenOnCommand="decelerate,0.8;addy,+100"
		TweenOffCommand="accelerate,0.8;addy,-100"
	> 	
		<children>
			<Layer
					Type="SongMeterDisplay"
					StreamWidth="294"
					StreamPath="meter stream"
				>
					<Tip
							File="tip"
							OnCommand="additiveblend,1;zoom,0;sleep,1.8;zoom,1"
					/>
			</Layer>
		</children> 
	</Layer>
<Layer 
		Type="ActorFrame"
		OnCommand="addy,-100;sleep,0.5;queuecommand,TweenOn"
		OffCommand="queuecommand,TweenOff"
		ShowGameplayTopFrameMessageCommand="playcommand,TweenOn"
		HideGameplayTopFrameMessageCommand="playcommand,TweenOff"
		TweenOnCommand="decelerate,0.8;addy,+100"
		TweenOffCommand="accelerate,0.8;addy,-100"
	> 
	<children>
			<Layer 	
					File="width"
					InitCommand="x,SCREEN_CENTER_X-190;y,SCREEN_TOP+24;horizalign,right"
					OnCommand="sleep,1.5;linear,.1;zoomtowidth,SCREEN_WIDTH/2-200"
					OffCommand=""
			/> 
			<Layer 	
					File="width"
					InitCommand="x,SCREEN_CENTER_X+190;y,SCREEN_TOP+24;horizalign,left"
					OnCommand="sleep,1.5;linear,.1;zoomtowidth,SCREEN_WIDTH/2-200"
					OffCommand=""
			/>
			<Layer 	
					File="left"
					InitCommand="horizalign,right"
					OnCommand="x,SCREEN_CENTER_X-193;y,SCREEN_TOP+24;sleep,1.5;linear,.1;x,SCREEN_LEFT+16"
					OffCommand=""
			/>
			<Layer 
					File="right"
					InitCommand="horizalign,left"
					OnCommand="x,SCREEN_CENTER_X+193;y,SCREEN_TOP+24;sleep,1.5;linear,.1;x,SCREEN_RIGHT-16"
					OffCommand=""
			/>
			<Layer 
					File="base"
					OnCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+24"
					OffCommand=""
			/> 
			<Layer
					File="_neons"
					InitCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+24"
					OnCommand="diffusealpha,0;sleep,1.8;linear,.4;diffusealpha,1;diffuseshift;EffectColor1,#00EAFF;EffectColor2,#FFFFFF00;EffectClock,bgm"
			/>
			<Layer
					Type="BitmapText"
					Font="_r bold 30px"
					InitCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+24;maxwidth,540"
					OnCommand="addy,3;zoom,.5;shadowlength,2;zoomy,0;sleep,2;decelerate,0.3;zoomy,.45;animate,0;playcommand,Update"
					CurrentSongChangedMessageCommand="playcommand,Update"
					UpdateCommand="%SetFromSongTitleAndCourseTitle"
			/>
</children> </Layer>


<!-- Difficulty: -->
<Layer 
		Type="ActorFrame"
		OnCommand="sleep,0.5;queuecommand,TweenOn"
		OffCommand="queuecommand,TweenOff"
		ShowGameplayTopFrameMessageCommand="playcommand,TweenOn"
		HideGameplayTopFrameMessageCommand="playcommand,TweenOff"
	> 
		<children>

<!-- p1 -->
		<ActorFrame 
					Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1)" 
					OnCommand="x,SCREEN_CENTER_X-240;y,SCREEN_TOP+29;addx,-220" 
					TweenOnCommand="sleep,1.5;decelerate,0.5;addx,+220" 
					TweenOffCommand="accelerate,0.8;addx,-220"
		>
<children>
<Actor
File="@THEME:GetPath(EC_GRAPHICS,'','_difficulty icons')"
OnCommand="animate,0;playcommand,Update"
CurrentStepsP1ChangedMessageCommand="playcommand,Update"
CurrentStepsP2ChangedMessageCommand="playcommand,Update"
UpdateCommand="%function(self,parent) SetDifficultyFrameFromSteps(self, PLAYER_1) end"
/>
<Actor
Class="DifficultyMeter"
Type="ScreenGameplay DifficultyMeterP1"
OnCommand="playcommand,Update"
CurrentStepsP1ChangedMessageCommand="playcommand,Update"
CurrentStepsP2ChangedMessageCommand="playcommand,Update"
UpdateCommand="%function(self) self:SetFromSteps(GAMESTATE:GetCurrentSteps(PLAYER_1)) end"
/>
<Layer
File="@THEME:GetPath(EC_GRAPHICS,'','_glow difficulty icons')"
InitCommand="additiveblend,1;diffusealpha,0;sleep,2.5;linear,.4;diffusealpha,1;sleep,.4;linear,.4;diffusealpha,0"
OnCommand="animate,0;playcommand,Update"
CurrentStepsP1ChangedMessageCommand="playcommand,Update"
CurrentStepsP2ChangedMessageCommand="playcommand,Update"
UpdateCommand="%function(self,parent) SetDifficultyFrameFromSteps(self, PLAYER_1) end"
/>
</children></ActorFrame>

<!-- p2 -->
		<ActorFrame 
					Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)" 
					OnCommand="x,SCREEN_CENTER_X+240;y,SCREEN_TOP+29;addx,+220" 
					TweenOnCommand="sleep,1.5;decelerate,0.5;addx,-220" 
					TweenOffCommand="accelerate,0.8;addx,+220"
		>
<children>
<Actor
File="@THEME:GetPath(EC_GRAPHICS,'','_difficulty icons')"
OnCommand="zoomx,-1;animate,0;playcommand,Update"
CurrentStepsP1ChangedMessageCommand="playcommand,Update"
CurrentStepsP2ChangedMessageCommand="playcommand,Update"
UpdateCommand="%function(self,parent) SetDifficultyFrameFromSteps(self, PLAYER_2) end"
/>
<Actor
Class="DifficultyMeter"
Type="ScreenGameplay DifficultyMeterP2"
OnCommand="playcommand,Update"
CurrentStepsP1ChangedMessageCommand="playcommand,Update"
CurrentStepsP2ChangedMessageCommand="playcommand,Update"
UpdateCommand="%function(self) self:SetFromSteps(GAMESTATE:GetCurrentSteps(PLAYER_2)) end"
/>
<Layer
File="@THEME:GetPath(EC_GRAPHICS,'','_glow difficulty icons')"
InitCommand="zoomx,-1;additiveblend,1;diffusealpha,0;sleep,2.5;linear,.4;diffusealpha,1;sleep,.4;linear,.4;diffusealpha,0"
OnCommand="animate,0;playcommand,Update"
CurrentStepsP1ChangedMessageCommand="playcommand,Update"
CurrentStepsP2ChangedMessageCommand="playcommand,Update"
UpdateCommand="%function(self,parent) SetDifficultyFrameFromSteps(self, PLAYER_2) end"
/>
</children></ActorFrame>
		</children> 
</Layer>


<!-- highlights 
-->

<!-- Draw on top of the rest -->

<Layer
Type="Quad"
OnCommand="diffuse,#000000;stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM;diffusealpha,1;linear,0.3;diffusealpha,0"
/>
<!-- <Layer
Condition="not GAMESTATE:IsDemonstration()"
File="../_song credit display"
OnCommand="sleep,2.5;linear,0.3;diffusealpha,0"
/> -->
<!-- Demonstration only: -->
<Layer 
Class="ActorFrame" 
Condition="GAMESTATE:IsDemonstration()"><children>
<Layer
File="..\_metallic streak"
InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+20;zoomtowidth,SCREEN_WIDTH"
OnCommand="diffusealpha,.9;fadeleft,1;faderight,1"
/>
<Layer 
		Type="BitmapText"
		Font="_z 36px black"
		Text="DEMO"
		OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+20;shadowlength,0;zoom,.7"
	/>
	<Layer
File="demonstration gradient"
OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;zoomtowidth,SCREEN_WIDTH;zoomtoheight,SCREEN_HEIGHT;diffusealpha,0.8"
/>
<!-- <Layer
File="demonstration logo"
OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;pulse;EffectMagnitude,1.0,0.9,0;effectclock,bgm;effectperiod,1"
/> -->
</children></Layer>
<!--<Layer
File="..\_Stage Background\bar.png"
Condition="not GAMESTATE:IsDemonstration() and not GAMESTATE:IsCourseMode()"
InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+156"
OnCommand="zoomtowidth,SCREEN_WIDTH;faderight,.8;fadeleft,.8;sleep,4;cropright,0;linear,.6;cropleft,1"
/>


 <Layer
Condition="not GAMESTATE:IsDemonstration()"
Font="_z 36px bold"
Text="@GetSongTitle()"
InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+147"
OnCommand="draworder,9999999;maxwidth,SCREEN_WIDTH/8*7;shadowlength,2;horizalign,center;zoom,.4;sleep,3;linear,1;diffusealpha,0;"
/> 	

<Layer
Condition="not GAMESTATE:IsDemonstration()"
Font="_z 36px bold"
Text="@GetSongArtist()"
InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+162"
OnCommand="draworder,9999999;maxwidth,SCREEN_WIDTH/8*6.8;shadowlength,2;horizalign,center;zoom,.3;sleep,3;linear,1;diffusealpha,0;"
/> -->
<!-- lol -->
<Layer
Condition="not GAMESTATE:IsDemonstration()"
File="..\_gameplaycoins"
/>

<!-- <Layer
File="screen00000.jpg"
OnCommand="stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM;diffusealpha,.5"
/> -->
<Layer
Type="Quad"
OnCommand="hidden,1"
OffCommand="hidden,0;diffuse,#000000;stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM;diffusealpha,0;linear,0.3;diffusealpha,1"
/> 
		</children> 
</ActorFrame>

