Files
itgmania212121/Themes/new/BGAnimations/Screen cancel.lua
T

27 lines
551 B
Lua
Raw Normal View History

2012-07-22 22:45:10 -07:00
local t = Def.ActorFrame {};
--
t[#t+1] = Def.ActorFrame {
2013-07-02 18:22:43 -04:00
InitCommand=function(self)
self:Center();
end;
2012-07-22 22:45:10 -07:00
--
Def.Quad {
2013-07-02 18:22:43 -04:00
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
self:diffuse(Color.Black);
self:diffusealpha(0);
end;
StartTransitioningCommand=function(self)
self:decelerate(0.125);
self:diffusealpha(1);
end;
2012-07-22 22:45:10 -07:00
};
-- Sounds
LoadActor(THEME:GetPathS(Var "LoadingScreen","cancel")) .. {
2013-07-02 18:22:43 -04:00
StartTransitioningCommand=function(self)
self:play();
end;
2012-07-22 22:45:10 -07:00
};
};
--
return t