commit backgroundeffects

This commit is contained in:
AJ Kelly
2010-08-29 22:40:46 -05:00
parent f982672795
commit fe005bbff7
4 changed files with 42 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
--- Stretch a file with red diffusion.
local cColor1 = color("1,0,0,1");
local t = Def.ActorFrame {
LoadActor(Var "File1") .. {
OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT;diffuse,cColor1);
GainFocusCommand=cmd(play);
LoseFocusCommand=cmd(pause);
};
};
return t;