Files
itgmania212121/Themes/_fallback/BGAnimations/ScreenProfileSave overlay.lua
T
2010-01-26 21:00:30 -06:00

23 lines
647 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="Saving 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():HaveProfileToSave() then self:sleep(1); end;
self:queuecommand("Load");
end;
LoadCommand=function() SCREENMAN:GetTopScreen():Continue(); end;
};
return x;