Files
itgmania212121/Themes/_fallback/BGAnimations/ScreenProfileLoad overlay.lua
T
2011-03-17 01:47:30 -04:00

23 lines
626 B
Lua

local x = Def.ActorFrame{
Def.Quad{
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH,80;diffuse,color("0,0,0,0.5"));
OnCommand=cmd();
OffCommand=cmd();
};
LoadFont("Common Normal")..{
Text="Loading Profiles...";
--~ Text=ScreenString("Loading Profiles...");
InitCommand=cmd(Center;diffuse,color("1,1,1,1");shadowlength,1);
OffCommand=cmd(linear,0.15;diffusealpha,0);
};
};
x[#x+1] = Def.Actor {
BeginCommand=function(self)
if SCREENMAN:GetTopScreen():HaveProfileToLoad() then self:sleep(1); end;
self:queuecommand("Load");
end;
LoadCommand=function() SCREENMAN:GetTopScreen():Continue(); end;
};
return x;