diff --git a/Themes/_fallback/BGAnimations/ScreenNoise background/default.lua b/Themes/_fallback/BGAnimations/ScreenNoise background/default.lua new file mode 100644 index 0000000000..172373c4c1 --- /dev/null +++ b/Themes/_fallback/BGAnimations/ScreenNoise background/default.lua @@ -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; diff --git a/Themes/_fallback/BGAnimations/ScreenNoise background/noise.png b/Themes/_fallback/BGAnimations/ScreenNoise background/noise.png new file mode 100644 index 0000000000..dcf9a395af Binary files /dev/null and b/Themes/_fallback/BGAnimations/ScreenNoise background/noise.png differ