More lua.

This commit is contained in:
Jason Felds
2013-07-01 21:09:06 -04:00
parent d20290ad2f
commit 2330c87501
5 changed files with 50 additions and 13 deletions
+12 -3
View File
@@ -1,4 +1,13 @@
return Def.Quad {
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);
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;
};