Files
itgmania212121/Themes/_fallback/BGAnimations/ScreenProfileSave overlay.lua
T

22 lines
588 B
Lua
Raw Normal View History

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=ScreenString("Saving 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;
};
2010-01-26 21:00:30 -06:00
return x;