DONE! All lua is future-proofed.

This commit is contained in:
Jason Felds
2013-07-05 22:17:42 -04:00
parent 0259af5c80
commit afd0dac0c1
44 changed files with 3017 additions and 1495 deletions
@@ -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;
};
};
};