Files
itgmania212121/stepmania/BackgroundEffects/SongBgWithMovieViz.xml
T
John Bauer d119f68c29 Fix the disappearing backgrounds. By changing all instances of P.FileX to
FileX, the existing code (which uses lua globals) works again.
2006-10-23 18:06:55 +00:00

15 lines
620 B
XML

<ActorFrame><children>
<Layer
Type="@Sprite"
InitCommand="%function(self) self:LoadBackground( GAMESTATE:GetCurrentSong():GetBackgroundPath() ) self.Color = Color1 end"
OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;ZoomToWidth,SCREEN_WIDTH;ZoomToHeight,SCREEN_HEIGHT;diffuse,color(self.Color)"
/>
<Layer
File="File1"
InitCommand="%function(self) self:pause(); self.Color = Color2; end"
OnCommand="blend,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>