forgot to add ScreenNoise background :(

This commit is contained in:
AJ Kelly
2011-09-23 16:00:10 -05:00
parent fbc4a02b8f
commit 210e88f45b
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,17 @@
local t = Def.ActorFrame{
LoadActor("noise")..{
Name="Noise";
InitCommand=cmd(Center;texturewrapping,true;SetTextureFiltering,false;zoom,2;diffusealpha,0;);
OnCommand=cmd(linear,1;diffusealpha,1);
};
};
local function Update(self)
local c = self:GetChild("Noise");
local x = math.random();
local y = math.random();
c:customtexturerect(0+x,0+y,2+x,2+y);
end;
t.InitCommand = cmd(SetUpdateFunction,Update);
return t;
Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB