DONE! All lua is future-proofed.
This commit is contained in:
@@ -6,7 +6,10 @@ local bg = Def.ActorFrame{
|
||||
self:FullScreen();
|
||||
self:diffuse(color("0,0,0,0"));
|
||||
end;
|
||||
OnCommand=cmd(linear,5;diffusealpha,1);
|
||||
OnCommand=function(self)
|
||||
self:linear(5);
|
||||
self:diffusealpha(1);
|
||||
end;
|
||||
};
|
||||
|
||||
Def.ActorFrame{
|
||||
@@ -34,18 +37,54 @@ local bg = Def.ActorFrame{
|
||||
|
||||
LoadActor(THEME:GetPathG("_rave result","P1"))..{
|
||||
Name="P1Win";
|
||||
InitCommand=cmd(Center;cropbottom,1;fadebottom,1;);
|
||||
OnCommand=cmd(sleep,2;linear,0.5;cropbottom,0;fadebottom,0;sleep,1.75;linear,0.25;diffusealpha,0);
|
||||
InitCommand=function(self)
|
||||
self:Center();
|
||||
self:cropbottom(1);
|
||||
self:fadebottom(1);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:sleep(2);
|
||||
self:linear(0.5);
|
||||
self:cropbottom(0);
|
||||
self:fadebottom(0);
|
||||
self:sleep(1.75);
|
||||
self:linear(0.25);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
};
|
||||
LoadActor(THEME:GetPathG("_rave result","P2"))..{
|
||||
Name="P2Win";
|
||||
InitCommand=cmd(Center;cropbottom,1;fadebottom,1;);
|
||||
OnCommand=cmd(sleep,2;linear,0.5;cropbottom,0;fadebottom,0;sleep,1.75;linear,0.25;diffusealpha,0);
|
||||
InitCommand=function(self)
|
||||
self:Center();
|
||||
self:cropbottom(1);
|
||||
self:fadebottom(1);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:sleep(2);
|
||||
self:linear(0.5);
|
||||
self:cropbottom(0);
|
||||
self:fadebottom(0);
|
||||
self:sleep(1.75);
|
||||
self:linear(0.25);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
};
|
||||
LoadActor(THEME:GetPathG("_rave result","draw"))..{
|
||||
Name="Draw";
|
||||
InitCommand=cmd(Center;cropbottom,1;fadebottom,1;);
|
||||
OnCommand=cmd(sleep,2;linear,0.5;cropbottom,0;fadebottom,0;sleep,1.75;linear,0.25;diffusealpha,0);
|
||||
InitCommand=function(self)
|
||||
self:Center();
|
||||
self:cropbottom(1);
|
||||
self:fadebottom(1);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:sleep(2);
|
||||
self:linear(0.5);
|
||||
self:cropbottom(0);
|
||||
self:fadebottom(0);
|
||||
self:sleep(1.75);
|
||||
self:linear(0.25);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user