<ActorFrame> <children>
	<LayerType="BitmapText"
		Condition="GAMESTATE:GetPlayMode() == PLAY_MODE_RAVE"
		Font="Common normal"
		Text="@GAMESTATE:GetPlayerDisplayName(PLAYER_1)"
		OnCommand="x,SCREEN_CENTER_X-224;y,SCREEN_TOP+53;shadowlength,0;diffuse,#000000;zoom,.5;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="Common normal"
		Text="@GAMESTATE:GetPlayerDisplayName(PLAYER_2)"
		OnCommand="x,SCREEN_CENTER_X+224;y,SCREEN_TOP+53;shadowlength,0;diffuse,#000000;zoom,.5;maxwidth,180;addy,-100;sleep,0.5;decelerate,0.8;addy,+100"
		OffCommand="accelerate,0.8;addy,-100"
	/>
	<Layer File="Details"
		OnCommand="zoom,0.5;x,SCREEN_CENTER_X-210;y,SCREEN_TOP+40;" />
	<Layer
			Type="BitmapText"
			Font="_eurostile normal"
			OnCommand="y,1;zoom,.5;shadowlength,0;x,SCREEN_CENTER_X;y,SCREEN_TOP+8;addy,-100;sleep,0.5;decelerate,0.8;addy,+100"
			InitCommand="animate,0;playcommand,Update"
			CurrentSongChangedMessageCommand="playcommand,Update"
			UpdateCommand="%SetFromSongTitleAndCourseTitle"
		/>

	<!-- Difficulty: -->
	<Layer Type="ActorFrame"
		OnCommand="sleep,0.5;queuecommand,TweenOn"
		OffCommand="queuecommand,TweenOff"
		ShowGameplayTopFrameMessageCommand="playcommand,TweenOn"
		HideGameplayTopFrameMessageCommand="playcommand,TweenOff"
		> <children>
		
		<ActorFrame Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1)" OnCommand="x,SCREEN_CENTER_X-230;y,SCREEN_CENTER_Y-200;zoom,1;horizalign,right"><children>
			<Actor
				Class="DifficultyMeter"
				Type="ScreenGameplay DifficultyMeterP1"
				Font="IkachanInfoYellow"
				OnCommand="zoom,1;addx,9;addy,-1;cropleft,0.3;playcommand,Update"
				CurrentStepsP1ChangedMessageCommand="playcommand,Update"
				CurrentStepsP2ChangedMessageCommand="playcommand,Update"
				UpdateCommand="%function(self) self:SetFromSteps(GAMESTATE:GetCurrentSteps(PLAYER_1)) self:diffuse(1,1,0,1) end"
			/>
		</children></ActorFrame>
		
		<ActorFrame Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)" OnCommand="x,SCREEN_RIGHT-100;y,SCREEN_BOTTOM-65;" TweenOnCommand="decelerate,0.4;y,SCREEN_TOP+65;x,SCREEN_RIGHT-90" TweenOffCommand="accelerate,0.8;addx,+200"><children>
			<Actor
				File="@THEME:GetPath(EC_GRAPHICS,'','_difficulty icons')"
				OnCommand="zoom,0.9;zoomx,-1;animate,0;playcommand,Update"
				CurrentStepsP1ChangedMessageCommand="playcommand,Update"
				CurrentStepsP2ChangedMessageCommand="playcommand,Update"
				UpdateCommand="%function(self,parent) SetDifficultyFrameFromSteps(self, PLAYER_2) end"
			/>
		</children></ActorFrame>
		
	</children> </Layer>

	<!-- Demonstration only: -->
	<Layer Class="ActorFrame" Condition="GAMESTATE:IsDemonstration()"><children>
		<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-180;pulse;EffectMagnitude,1.0,0.9,0;effectclock,bgm;effectperiod,1"
		/>
	</children></Layer>
</children> </ActorFrame>

