Files
itgmania212121/Themes/themekit/BGAnimations/ScreenWithMenuElements underlay/default.lua
T
Jason Felds 9982e3369e Themekit handled.
...yeah, I can't replicate the IFFE in pure lua.
2013-07-01 22:08:27 -04:00

27 lines
641 B
Lua

local t = Def.ActorFrame {
InitCommand=function(self)
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y);
end;
};
--
t[#t+1] = LoadActor("grid") .. {
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
self:customtexturerect(0, 0, SCREEN_WIDTH / 16, SCREEN_HEIGHT / 16);
end;
OnCommand=function(self)
self:diffuse(color("0,0,0,0.125"));
end;
};
t[#t+1] = LoadActor("grid") .. {
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
self:customtexturerect(0, 0, SCREEN_WIDTH / 32, SCREEN_HEIGHT / 32);
end;
OnCommand=function(self)
self:diffuse(color("0,0,0,0.25"));
end;
};
--
return t