<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="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="292"
					StreamPath="meter stream"
				>
					<Tip
							File="tip"
							OnCommand="zoom,0;sleep,1.8;zoom,1;diffuseshift;effectcolor1,1,1,1,1;EffectColor2,1,1,1,.5;effectclock,bgm;effectperiod,4;"
					/>
			</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="_uplight"
					InitCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+24"
					OnCommand="diffusealpha,0;sleep,1.8;linear,.4;diffusealpha,1;diffuse,#00EAFF"
					OffCommand=""
			/> 
			<Layer 
					File="_uplight"
					InitCommand="additiveblend,1;x,SCREEN_CENTER_X;y,SCREEN_TOP+24"
					OnCommand="diffusealpha,0;sleep,1.8;linear,.4;diffusealpha,1;diffuse,#00EAFF"
					OffCommand=""
			/> 
			<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="glass"
					OnCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+24"
					OffCommand=""/>  -->
			<Layer
					File="_neons"
					InitCommand="additiveblend,1;x,SCREEN_CENTER_X;y,SCREEN_TOP+24"
					OnCommand="EffectClock,beat;DiffuseRamp;EffectColor1,#706F6D;EffectColor2,#00EAFF;effectperiod,0.5;EffectDelay,0.5;EffectOffset,0.05;diffusealpha,0;sleep,1.8;linear,.4;diffusealpha,1;"
					
					
					
			/>
			<Layer
					File="_neons"
					InitCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+24"
					OnCommand="EffectClock,beat;DiffuseRamp;EffectColor1,#FFFFFF00;EffectColor2,#00EAFF;effectperiod,0.5;EffectDelay,0.5;EffectOffset,0.05;diffusealpha,0;sleep,1.8;linear,.4;diffusealpha,1;"
					
					
					
			/>
			<Layer
			Type="BitmapText"
			File="_eurostile normal"
			Text="BPM"
			OnCommand="x,320;y,55;zoomx,5;zoomy,0;sleep,1.0;accelerate,0.3;zoomx,1;zoomy,1;sleep,2;decelerate,0.3;zoomx,0;zoomy,3"
		/>
		<Layer File="bpm frame" OnCommand="x,318;y,60" />

			<Layer
					Type="BitmapText"
					Font="_r bold 30px"
					InitCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+24;maxwidth,540;diffusebottomedge,#dedede"
					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>
<!-- <Layer
File="width"
OnCommand="zoomtowidth,SCREEN_WIDTH*0;sleep,1.5;decelerate,0.3;zoomtowidth,SCREEN_WIDTH"
OffCommand="" /> 
<Layer
File="neonp1"
OnCommand="zoom,0;sleep,1.8;zoom,1.4;addx,-201;addy,3;diffuseshift;EffectColor1,#706F6D;EffectColor2,#706F6D;EffectClock,bgm"
/>
<Layer
File="neonp1"
OnCommand="zoom,0;sleep,1.8;zoomx,-1.4;zoomy,1.4;addx,201;addy,3;diffuseshift;EffectColor1,#706F6D;EffectColor2,#706F6D;EffectClock,bgm"
/> -->

<!-- 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,-SCREEN_WIDTH/3" 
					TweenOnCommand="sleep,1.5;decelerate,0.5;addx,+SCREEN_WIDTH/3" 
					TweenOffCommand="accelerate,0.8;addx,-SCREEN_WIDTH/3"
		>
<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="y,-1;playcommand,Update"
CurrentStepsP1ChangedMessageCommand="playcommand,Update"
CurrentStepsP2ChangedMessageCommand="playcommand,Update"
UpdateCommand="%function(self) self:SetFromSteps(GAMESTATE:GetCurrentSteps(PLAYER_1)) end"
/>
</children></ActorFrame>

<!-- p2 -->
		<ActorFrame 
					Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)" 
					OnCommand="x,SCREEN_CENTER_X+240;y,SCREEN_TOP+29;addx,SCREEN_WIDTH/3" 
					TweenOnCommand="sleep,1.5;decelerate,0.5;addx,-SCREEN_WIDTH/3" 
					TweenOffCommand="accelerate,0.8;addx,SCREEN_WIDTH/3"
		>
<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="y,-1;playcommand,Update"
CurrentStepsP1ChangedMessageCommand="playcommand,Update"
CurrentStepsP2ChangedMessageCommand="playcommand,Update"
UpdateCommand="%function(self) self:SetFromSteps(GAMESTATE:GetCurrentSteps(PLAYER_2)) end"
/>
</children></ActorFrame>
		</children> 
</Layer>






<Layer
Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1)"
File="difficulty glow"
InitCommand="additiveblend,1"
OnCommand="x,SCREEN_CENTER_X-240;y,SCREEN_TOP+29;diffusealpha,0;sleep,2.4;decelerate,.5;diffusealpha,1;sleep,.2;decelerate,.8;diffusealpha,0;sleep,0;"
OffCommand=""  />


<Layer
Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)"
File="difficulty glow"
InitCommand="additiveblend,1;zoomx,-1"
OnCommand="x,SCREEN_CENTER_X+240;y,SCREEN_TOP+29;;diffusealpha,0;sleep,2.4;decelerate,.5;diffusealpha,1;sleep,.2;decelerate,.8;diffusealpha,0;sleep,0;"
OffCommand=""  />








<!-- Song info, background only fade -->




<Layer
		Type="Quad"
		OnCommand="diffuse,#000000;stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM;diffusealpha,1;linear,0.3;diffusealpha,0"
	/>




<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,2.25;cropright,0;linear,.6;cropleft,1"
/>



<Layer
File="..\_Stage Background\_left gradient.png"
Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1) and not GAMESTATE:IsDemonstration()"
InitCommand="x,SCREEN_LEFT;y,SCREEN_CENTER_Y+150"
OnCommand="horizalign,left;sleep,1;linear,1;diffusealpha,0;"
/>
<Layer
File="..\_Stage Background\_right gradient.png"
Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2) and not GAMESTATE:IsDemonstration()"
InitCommand="x,SCREEN_RIGHT;y,SCREEN_CENTER_Y+150"
OnCommand="horizalign,right;sleep,1;linear,1;diffusealpha,0;"
/>
<Layer
File="..\_Stage Background\_p1.png"
Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1) and not GAMESTATE:IsDemonstration()"
InitCommand="x,SCREEN_LEFT;y,SCREEN_CENTER_Y+150"
OnCommand="horizalign,left;sleep,1;linear,1;diffusealpha,0;"
/>
<Layer
File="..\_Stage Background\_p2.png"
Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2) and not GAMESTATE:IsDemonstration()"
InitCommand="x,SCREEN_RIGHT;y,SCREEN_CENTER_Y+150"
OnCommand="horizalign,right;sleep,1;linear,1;diffusealpha,0;"
/>
<Layer
Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1) and not GAMESTATE:IsDemonstration() and GAMESTATE:GetPlayMode() == PLAY_MODE_REGULAR or GAMESTATE:GetPlayMode() == PLAY_MODE_RAVE"
Font="_r bold 30px"
Text="Step Artist:"
InitCommand="x,SCREEN_LEFT+5;y,SCREEN_CENTER_Y+178"
OnCommand="shadowlength,2;horizalign,left;zoom,.6;sleep,1;linear,1;diffusealpha,0;"
/> 
<Layer
Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2) and not GAMESTATE:IsDemonstration() and GAMESTATE:GetPlayMode() == PLAY_MODE_REGULAR or not GAMESTATE:GetPlayMode() == PLAY_MODE_RAVE"
Font="_r bold 30px"
Text=":Step Artist"
InitCommand="x,SCREEN_RIGHT-5;y,SCREEN_CENTER_Y+178"
OnCommand="shadowlength,2;horizalign,right;zoom,.6;sleep,1;linear,1;diffusealpha,0;"
/> 
<!-- steps description -->
<Layer
Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1) and not GAMESTATE:IsDemonstration()"
Font="_r bold 30px"
Text="@GetStepsDescriptionTextP1()"
InitCommand="x,SCREEN_LEFT+100;y,SCREEN_CENTER_Y+178"
OnCommand="shadowlength,2;horizalign,left;zoom,.6;sleep,1;linear,1;diffusealpha,0;"
/> 
 <Layer
 Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2) and not GAMESTATE:IsDemonstration()"
Font="_r bold 30px"
Text="@GetStepsDescriptionTextP2()"
InitCommand="x,SCREEN_RIGHT-100;y,SCREEN_CENTER_Y+178"
OnCommand="shadowlength,2;horizalign,right;zoom,.6;sleep,1;linear,1;diffusealpha,0;"
/>
<!-- player names -->
<Layer
Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1) and not GAMESTATE:IsDemonstration()"
Font="_r bold 30px"
Text="@GAMESTATE:GetPlayerDisplayName(PLAYER_1)"
InitCommand="x,SCREEN_LEFT+44;y,SCREEN_CENTER_Y+142"
OnCommand="diffusealpha,1;shadowlength,2;horizalign,left;zoom,.8;sleep,1;linear,1;diffusealpha,0;"
/> 
 <Layer
 Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2) and not GAMESTATE:IsDemonstration()"
Font="_r bold 30px"
Text="@GAMESTATE:GetPlayerDisplayName(PLAYER_2)"
InitCommand="x,SCREEN_RIGHT-44;y,SCREEN_CENTER_Y+142"
OnCommand="diffusealpha,1;shadowlength,2;horizalign,right;zoom,.8;sleep,1;linear,1;diffusealpha,0;"
/>




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

<Layer
Condition="not GAMESTATE:IsDemonstration()"
Font="_r bold 30px"
Text="@GetSongArtist()"
InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+166"
OnCommand="draworder,9999999;maxwidth,SCREEN_WIDTH/8*6.8;shadowlength,2;horizalign,center;zoom,.4;sleep,1.5;linear,1;diffusealpha,0;"
/> 








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











<!-- <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+43;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+43;shadowlength,0;zoom,.7;pulse;EffectMagnitude,1.0,0.95,0;effectclock,bgm;effectperiod,1"
	/>
	<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>
<!-- lol -->
<Layer
Condition="not GAMESTATE:IsDemonstration()"
File="..\_gameplaycoins"
/>
		</children> 
</ActorFrame>

