[BGAnimation]

[Layer1]
Type=BitmapText
Condition=GAMESTATE:GetPlayMode() == PLAY_MODE_RAVE
Font=Common normal
Text=@GAMESTATE:GetPlayerDisplayName(PLAYER_1)
OnCommand=x,SCREEN_CENTER_X-224;y,SCREEN_TOP+54;shadowlength,0;diffuse,#000000;zoom,.5;maxwidth,180;addy,-100;sleep,0.5;decelerate,0.8;addy,+100
OffCommand=accelerate,0.8;addy,-100

[Layer2]
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+54;shadowlength,0;diffuse,#000000;zoom,.5;maxwidth,180;addy,-100;sleep,0.5;decelerate,0.8;addy,+100
OffCommand=accelerate,0.8;addy,-100

[Layer3]
File=meter frame
Type=0
OnCommand=x,SCREEN_CENTER_X;y,SCREEN_TOP+24;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

[Layer4]
Type=0
Width=420
StreamWidth=420
File=meter stream

OnCommand=x,SCREEN_CENTER_X-257;y,SCREEN_TOP+25;addx,-200

[Layer5]
File=tip
Type=0
OnCommand=diffuseshift;EffectColor1,1,1,1,0.6;EffectColor2,1,1,1,1.0;x,SCREEN_CENTER_X-257;y,SCREEN_TOP+25;addx,-200

[Layer6]
Type=BitmapText
Font=_eurostile normal
Text=GAMESTATE:GetCurrentSong()
InitCommand=animate,0
OnCommand=zoom,.5;shadowlength,0;x,SCREEN_CENTER_X;y,SCREEN_TOP+24;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

[Layer7]
File=mirrored difficulty frame
Type=0
OnCommand=sleep,0.5;queuecommand,TweenOn
OffCommand=queuecommand,TweenOff	
ShowGameplayTopFrameMessageCommand=playcommand,TweenOn
HideGameplayTopFrameMessageCommand=playcommand,TweenOff 
Condition=GAMESTATE:IsHumanPlayer(PLAYER_1)
OnCommand=x,SCREEN_CENTER_X-257;y,SCREEN_TOP+25;addx,-200
TweenOnCommand=decelerate,0.8;addx,+200
TweenOffCommand=accelerate,0.8;addx,-200

[Layer8]
//File=mirrored difficulty frame
//OnCommand=animate,0;playcommand,Update
//CurrentStepsP1ChangedMessageCommand=playcommand,Update
//CurrentStepsP2ChangedMessageCommand=playcommand,Update
//UpdateCommand=GAMESTATE:GetCurrentSteps(PLAYER_1)

[Layer19]
Type=Quad
OnCommand=diffuse,#000000;stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM;diffusealpha,1;linear,0.3;diffusealpha,0

[Layer20]
Type=0
File=demonstration gradient
Condition=IsDemonstration()
OnCommand=x,SCREEN_CENTER_X;y,SCREEN_TOP;vertalign,top;zoomx,5

[Layer21]
Type=0
File=demonstration logo
Condition=IsDemonstration()
OnCommand=x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+180;pulse;EffectMagnitude,1.0,0.9,0;effectclock,bgm;effectperiod,1