Files
itgmania212121/BackgroundEffects/File1FlashOverlay.lua
T
Jason Felds 4ef48a2bcf Restore...one file's line endings?
...trying to clean this up is harder than I thought.
2012-06-24 09:39:09 -04:00

13 lines
365 B
Lua

local Color1 = color(Var "Color1");
local Color2 = color(Var "Color2");
local t = Def.ActorFrame {};
t[#t+1] = LoadActor(Var "File1") .. {
OnCommand=cmd(diffuse,Color1;blend,"BlendMode_Add";x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;scale_or_crop_background;linear,1;diffusealpha,0);
GainFocusCommand=cmd(play);
LoseFocusCommand=cmd(pause);
};
return t;