Files
itgmania212121/BGAnimations/flash/default.lua
T

5 lines
264 B
Lua
Raw Normal View History

2013-07-18 17:41:10 -04:00
local flashColor = color(Var "Color1")
return Def.Quad {
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);
};