Files
itgmania212121/Themes/rsr/BGAnimations/ScreenSystemLayer aux/default.lua
T
Jonathan Payne e8590451d8 Make rsr a little better again
Here come the huge lazy commits.

(Sourced from shakesoda/stepmania.)
2013-10-05 03:03:19 -07:00

22 lines
867 B
Lua

local bShow = 0;
local t = Def.ActorFrame {};
t[#t+1] = Def.ActorFrame {
InitCommand=cmd(visible,false);
ToggleConsoleDisplayMessageCommand=function(self)
bShow = 1 - bShow;
self:visible( bShow == 1 );
end;
-- Grid
LoadActor("_8") .. {
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;customtexturerect,0,0,SCREEN_WIDTH/8,SCREEN_HEIGHT/8;diffuse,Color.Black;diffusealpha,0.05);
};
LoadActor("_16") .. {
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;customtexturerect,0,0,SCREEN_WIDTH/16,SCREEN_HEIGHT/16;diffuse,Color.Blue;diffusealpha,0.1);
};
LoadActor("_32") .. {
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;customtexturerect,0,0,SCREEN_WIDTH/32,SCREEN_HEIGHT/32;diffuse,Color.White;diffusealpha,0.125);
};
--]]
};
return t;