2011-03-17 01:47:30 -04:00
|
|
|
-- comments show how this compares to a StepMania 3.9 BGAnimation.ini.
|
|
|
|
|
-- It should be noted that additional commands on the ActorFrame as a whole for
|
|
|
|
|
-- this file are in metrics.ini ([ScreenTitleMenu] ShowLogo, etc.)
|
|
|
|
|
local t = Def.ActorFrame{ -- [BGAnimation]
|
2011-05-29 15:18:03 -04:00
|
|
|
LoadActor("_logo"); -- [Layer1] Type=0 File=_ball.png
|
|
|
|
|
LoadActor("_logo")..{ -- [Layer2] Type=0 File=_ball.png
|
2011-03-17 01:47:30 -04:00
|
|
|
};
|
2011-05-23 20:40:08 -05:00
|
|
|
--[[LoadActor("_text")..{ -- [Layer3] Type=0 File=_text.png
|
2011-03-17 01:47:30 -04:00
|
|
|
InitCommand=cmd(y,48;hide_if,GAMESTATE:GetMultiplayer()); -- Command=y,48
|
|
|
|
|
};
|
|
|
|
|
LoadActor("_multi")..{ -- [Layer4] Type=0 File=_multi.png
|
|
|
|
|
InitCommand=cmd(y,60;hide_if,not GAMESTATE:GetMultiplayer()); -- Command=y,48
|
|
|
|
|
-- the hide_if command would be similar to Condition=, which also exists.
|
|
|
|
|
-- Condition=GAMESTATE:GetMultiplayer(); is the equivalent code.
|
2011-05-23 20:40:08 -05:00
|
|
|
};]]
|
2011-03-17 01:47:30 -04:00
|
|
|
LoadFont("Common normal")..{
|
|
|
|
|
Text="sm-ssc Multiplayer";
|
|
|
|
|
InitCommand=cmd(y,5;shadowlength,0;strokecolor,color("0,0,0,0.375");diffusebottomedge,color("#D6DBDD"););
|
|
|
|
|
BeginCommand=cmd(hide_if,not GAMESTATE:GetMultiplayer());
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-05-23 20:40:08 -05:00
|
|
|
return t;
|