Files
itgmania212121/stepmania/Themes/default/BGAnimations/ScreenGameplay in.lua
T

26 lines
771 B
Lua
Raw Normal View History

2007-05-20 18:05:35 +00:00
local t = Def.ActorFrame {
LoadSongBackground() .. {
2007-03-23 12:29:35 +00:00
Condition=not GAMESTATE:IsCourseMode();
OnCommand=cmd(diffusealpha,1;sleep,.5;linear,.5;diffusealpha,0);
};
};
local OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+180;diffusealpha,.75;sleep,0.5;linear,0.5;diffusealpha,0);
local function AddChild( name )
2007-05-20 18:05:35 +00:00
t[#t+1] = LoadActor( "ScreenStage overlay/" .. name .. ".png" ) .. {
2007-03-23 12:29:35 +00:00
OnCommand=OnCommand;
Condition=GAMESTATE:GetCurrentStage() == "Stage_" .. name;
};
end
for i = 1, 6, 1 do
AddChild( i );
end
AddChild( "Final" );
AddChild( "Extra1" );
AddChild( "Extra2" );
AddChild( "Event" );
AddChild( "Nonstop" );
AddChild( "Oni" );
AddChild( "Endless" );
2007-05-20 18:05:35 +00:00
return t;