15 lines
650 B
XML
15 lines
650 B
XML
<ActorFrame><children>
|
|
<Layer
|
|
Type="@Sprite"
|
|
InitCommand="%function(self) self:LoadBackground( GAMESTATE:GetCurrentSong():GetBackgroundPath() ) self.Color = Var 'Color1' end"
|
|
OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;ZoomToWidth,SCREEN_WIDTH;ZoomToHeight,SCREEN_HEIGHT;diffuse,color(self.Color)"
|
|
/>
|
|
<Layer
|
|
File="Var 'File1'"
|
|
InitCommand="%function(self) self:pause(); self.Color = Var 'Color2'; end"
|
|
OnCommand="blend,'BlendMode_Add';x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;ZoomToWidth,SCREEN_WIDTH;ZoomToHeight,SCREEN_HEIGHT;diffuse,color(self.Color)"
|
|
GainFocusCommand="Play"
|
|
LoseFocusCommand="Pause"
|
|
/>
|
|
</children></ActorFrame>
|