Files
itgmania212121/Themes/default/BGAnimations/Screen in/default.lua
T

16 lines
363 B
Lua

local fSleepTime = THEME:GetMetric( Var "LoadingScreen","ScreenInDelay");
return Def.ActorFrame {
Def.Quad {
InitCommand=function(self)
self:Center();
self:zoomto(SCREEN_WIDTH + 1, SCREEN_HEIGHT);
end;
OnCommand=function(self)
self:diffuse(color("0,0,0,1"));
self:sleep(fSleepTime);
self:linear(0.01);
self:diffusealpha(0);
end;
};
};