@@ -1,15 +1,5 @@
|
||||
local flashColor = color(Var "Color1")
|
||||
return Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:x(SCREEN_CENTER_X);
|
||||
self:y(SCREEN_CENTER_Y);
|
||||
self:scaletoclipped(SCREEN_WIDTH * 2, SCREEN_HEIGHT * 2);
|
||||
self:diffuse(flashColor);
|
||||
end;
|
||||
GainFocusCommand=function(self)
|
||||
self:finishtweening();
|
||||
self:diffusealpha(1);
|
||||
self:accelerate(0.6);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;scaletoclipped,SCREEN_WIDTH*2,SCREEN_HEIGHT*2;diffuse,flashColor;);
|
||||
GainFocusCommand=cmd(finishtweening;diffusealpha,1;accelerate,0.6;diffusealpha,0);
|
||||
};
|
||||
@@ -1,13 +1,4 @@
|
||||
return Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:x(SCREEN_CENTER_X);
|
||||
self:y(SCREEN_CENTER_Y);
|
||||
self:scaletoclipped(SCREEN_WIDTH * 2, SCREEN_HEIGHT * 2);
|
||||
end;
|
||||
GainFocusCommand=function(self)
|
||||
self:finishtweening();
|
||||
self:diffusealpha(1);
|
||||
self:accelerate(0.6);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;scaletoclipped,SCREEN_WIDTH*2,SCREEN_HEIGHT*2);
|
||||
GainFocusCommand=cmd(finishtweening;diffusealpha,1;accelerate,0.6;diffusealpha,0);
|
||||
};
|
||||
@@ -1,13 +1,4 @@
|
||||
return Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:x(SCREEN_CENTER_X);
|
||||
self:y(SCREEN_CENTER_Y);
|
||||
self:scaletoclipped(SCREEN_WIDTH * 2, SCREEN_HEIGHT * 2);
|
||||
end;
|
||||
GainFocusCommand=function(self)
|
||||
self:finishtweening();
|
||||
self:diffusealpha(0);
|
||||
self:accelerate(0.6);
|
||||
self:diffusealpha(1);
|
||||
end;
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;scaletoclipped,SCREEN_WIDTH*2,SCREEN_HEIGHT*2);
|
||||
GainFocusCommand=cmd(finishtweening;diffusealpha,0;accelerate,0.6;diffusealpha,1);
|
||||
};
|
||||
@@ -1,13 +1,4 @@
|
||||
return Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:x(SCREEN_CENTER_X);
|
||||
self:y(SCREEN_CENTER_Y);
|
||||
self:scaletoclipped(SCREEN_WIDTH * 2, SCREEN_HEIGHT * 2);
|
||||
end;
|
||||
GainFocusCommand=function(self)
|
||||
self:finishtweening();
|
||||
self:diffuse(color("#FFFFA0"));
|
||||
self:accelerate(0.6);
|
||||
self:diffusealpha(0);
|
||||
end;
|
||||
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;scaletoclipped,SCREEN_WIDTH*2,SCREEN_HEIGHT*2);
|
||||
GainFocusCommand=cmd(finishtweening;diffuse,color("#FFFFA0");accelerate,0.6;diffusealpha,0);
|
||||
};
|
||||
+2
-2
@@ -42,8 +42,8 @@ local MetaData = {
|
||||
startTime = { path, rate, offset, commands }
|
||||
Any ommitted arguments will default to nil, except for rate, which would use 1.0
|
||||
]]
|
||||
0 = {"path/to/bga", 1.0, 0.000, 0, function(self) self:rainbow(); end; },
|
||||
0 = {"path/to/bga2", 1.0, 0.000, 0, function(self) self:thump(); end; }
|
||||
0 = {"path/to/bga", 1.0, 0.000, 0, cmd(rainbow) },
|
||||
0 = {"path/to/bga2", 1.0, 0.000, 0, cmd(thump) }
|
||||
},
|
||||
},
|
||||
--[[
|
||||
|
||||
Reference in New Issue
Block a user