Some of default. Better break this up.
This commit is contained in:
@@ -1,9 +1,19 @@
|
||||
return Def.ActorFrame {
|
||||
Def.Quad {
|
||||
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH+1,SCREEN_HEIGHT);
|
||||
OnCommand=cmd(diffuse,color("0,0,0,0.5");sleep,5/60;diffusealpha,1;sleep,5/60);
|
||||
InitCommand=function(self)
|
||||
self:Center();
|
||||
self:zoomto(SCREEN_WIDTH + 1, SCREEN_HEIGHT);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:diffuse(color("0,0,0,0.5"));
|
||||
self:sleep(5 / 60);
|
||||
self:diffusealpha(1);
|
||||
self:sleep(5 / 60);
|
||||
end;
|
||||
};
|
||||
LoadActor(THEME:GetPathS("_Screen","cancel")) .. {
|
||||
StartTransitioningCommand=cmd(play);
|
||||
StartTransitioningCommand=function(self)
|
||||
self:play();
|
||||
end;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user