Files
itgmania212121/Themes/themekit/BGAnimations/ScreenWithMenuElements underlay/default.lua
T

27 lines
641 B
Lua
Raw Normal View History

local t = Def.ActorFrame {
2013-07-01 22:08:27 -04:00
InitCommand=function(self)
self:x(SCREEN_CENTER_X);
self:y(SCREEN_CENTER_Y);
end;
};
--
t[#t+1] = LoadActor("grid") .. {
2013-07-01 22:08:27 -04:00
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") .. {
2013-07-01 22:08:27 -04:00
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