Files
itgmania212121/Themes/_themekit-piu/BGAnimations/ScreenProfileLoad overlay.lua
T
2013-07-03 18:38:57 -04:00

26 lines
587 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=function(self) self:Center(); end;
};
LoadFont("_arial black 20px")..{
Text="Loading Profiles...";
InitCommand=function(self)
self:Center();
self:skewx(-0.1);
self:diffuse(color("#000000"));
self:Stroke(color("#ffffff"));
end;
};
}