Files
itgmania212121/Themes/default/BGAnimations/Online background/default.lua
T

32 lines
1.1 KiB
Lua
Raw Normal View History

2017-08-08 01:07:34 -06:00
-- You know what, I guess the "fancy UI background" theme option can be put to use.
if ThemePrefs.Get("FancyUIBG") then
2018-02-08 23:35:28 -06:00
return Def.ActorFrame {
2017-08-08 01:07:34 -06:00
Def.Quad {
2018-08-14 14:19:02 -06:00
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;diffuse,color("#18060C");diffusetopedge,color("#000000"));
2017-08-08 01:07:34 -06:00
};
LoadActor("_base") .. {
2018-08-14 14:19:02 -06:00
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;blend,'BlendMode_Add');
2017-08-08 01:07:34 -06:00
},
LoadActor("_barcode") .. {
2018-02-08 23:35:28 -06:00
InitCommand=cmd(zoomto,36,1024;diffuse,color("#882D47");x,SCREEN_LEFT+15;y,SCREEN_CENTER_Y;diffusealpha,0.1);
2017-08-08 01:07:34 -06:00
OnCommand=cmd(customtexturerect,0,0,1,1;texcoordvelocity,0,-0.1);
};
LoadActor("_barcode") .. {
2018-02-08 23:35:28 -06:00
InitCommand=cmd(zoomto,36,1024;diffuse,color("#882D47");x,SCREEN_RIGHT-15;y,SCREEN_CENTER_Y;diffusealpha,0.1);
2017-08-08 01:07:34 -06:00
OnCommand=cmd(customtexturerect,0,0,1,1;texcoordvelocity,0,0.1);
};
};
else
2018-02-08 23:35:28 -06:00
return Def.ActorFrame {
Def.Quad {
2018-08-14 14:19:02 -06:00
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;diffuse,color("#18060C");diffusetopedge,color("#000000"));
2018-02-08 23:35:28 -06:00
};
LoadActor("_base") .. {
2018-08-14 14:19:02 -06:00
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;blend,'BlendMode_Add');
2018-02-08 23:35:28 -06:00
},
2017-08-08 01:07:34 -06:00
};
end