Files
itgmania212121/Themes/_themekit-piu/BGAnimations/ScreenProfileLoad overlay.lua
T
2011-04-29 14:58:59 -04:00

21 lines
508 B
Lua

return Def.ActorFrame {
BeginCommand=function(self)
self:visible(false);
if SCREENMAN:GetTopScreen():HaveProfileToLoad() then
self:visible(true);
self:sleep(1);
end;
self:queuecommand("Load");
end;
LoadCommand=function(self)
SCREENMAN:GetTopScreen():Continue();
end;
--
Draw.Box(SCREEN_WIDTH,50)..{
InitCommand=cmd(Center);
};
LoadFont("_arial black 20px")..{
Text="Loading Profiles...";
InitCommand=cmd(Center;skewx,-0.1;diffuse,color("#000000");Stroke,color("#ffffff"));
};
}