2017-08-08 01:07:34 -06:00
|
|
|
local t = Def.ActorFrame {};
|
|
|
|
|
|
|
|
|
|
t[#t+1] = Def.ActorFrame {
|
|
|
|
|
Def.Sprite {
|
|
|
|
|
Name="animation",
|
|
|
|
|
Texture="LoadScreen diamond 5x2.png",
|
|
|
|
|
InitCommand=function(self)
|
2018-02-08 23:35:28 -06:00
|
|
|
self:SetAllStateDelays(0.1):diffusealpha(1):diffuse(color("#981F41")):Center()
|
2017-08-08 01:07:34 -06:00
|
|
|
end,
|
|
|
|
|
OnCommand=function(self)
|
2018-01-26 20:34:24 -06:00
|
|
|
self:zoom(0):decelerate(0.25):zoom(0.5)
|
|
|
|
|
end;
|
|
|
|
|
OffCommand=function(self)
|
|
|
|
|
self:decelerate(0.25):zoom(0)
|
|
|
|
|
end;
|
2017-08-08 01:07:34 -06:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
t[#t+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 t;
|