Files
itgmania212121/Themes/default/BGAnimations/ScreenProfileLoad overlay/default.lua
T
ListenerJubatus f257f19dad Add new 5.1 default theme Lambda
I'd like to thank everyone who made this possible;, including but not
limited to Riakodoadm, MrThatKid, kyzentun, Luizsan, JoseVarelaP,
everyone else who provided feedback and bug reports.
2017-08-08 01:07:34 -06:00

24 lines
609 B
Lua

local t = Def.ActorFrame {};
t[#t+1] = Def.ActorFrame {
Def.Sprite {
Name="animation",
Texture="LoadScreen diamond 5x2.png",
InitCommand=function(self)
self:SetAllStateDelays(0.1):diffusealpha(1):diffuse(color("#6248A7")):Center()
end,
OnCommand=function(self)
self:zoom(0):decelerate(0.25):zoom(0.5):sleep(0.5):decelerate(0.25):zoom(0)
end
};
};
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;