<ActorFrame> <children>
	<Layer
			File="../../Graphics/GrandDad/GrandLvl"
			OnCommand="%function(self)
			self:xy(SCREEN_CENTER_X,SCREEN_TOP+190)
			self:vertalign('bottom')
			self:cropbottom(0.13)
			self:zoom(0.99)
			self:fadebottom(0.05)
			end"
			/>
	<Layer Type="ActorFrame"
		OnCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+20;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="500"
			StreamPath="meter stream"
			OnCommand="addy,20"
		>
			<Tip
				File="Run 4x2"
				OnCommand="%function(self)
				self:zoom(0.5)
				end"
			/>
		</Layer>

		<!--<Layer File="meter frame" />-->
	</children> </Layer>

	<Layer
			Type="BitmapText"
			Font="Common Normal"
			Text="@'' .. GetCreditsTextGameplay()"
			OnCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP+30;zoom,.5;shadowlength,1"
		/>

	<!-- 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_LEFT+80;y,SCREEN_BOTTOM-25" TweenOnCommand="" TweenOffCommand="accelerate,0.8;addy,+200"><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"
			/>
		</children></ActorFrame>
		
		<ActorFrame Condition="GAMESTATE:IsPlayerEnabled(PLAYER_2)" OnCommand="x,SCREEN_RIGHT-80;y,SCREEN_BOTTOM-25;" TweenOnCommand="" TweenOffCommand="accelerate,0.8;addy,+200"><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"
			/>
		</children></ActorFrame>
		
	</children> </Layer>


	<!-- 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"
	/>
</children> </ActorFrame>

