@@ -1,60 +1,40 @@
|
||||
local t = Def.ActorFrame {};
|
||||
-- Background Color
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
InitCommand=function(self)
|
||||
self:Center();
|
||||
end;
|
||||
--
|
||||
Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
self:diffuse(color("#005185"));
|
||||
end;
|
||||
};
|
||||
InitCommand=cmd(Center);
|
||||
--
|
||||
Def.Quad {
|
||||
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;diffuse,color("#005185"));
|
||||
};
|
||||
};
|
||||
|
||||
-- Additive Tint
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
InitCommand=function(self)
|
||||
self:Center();
|
||||
end;
|
||||
--
|
||||
Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
self:fadetop(1);
|
||||
self:blend("BlendMode_Add");
|
||||
self:diffusealpha(0.2);
|
||||
end;
|
||||
}
|
||||
InitCommand=cmd(Center);
|
||||
--
|
||||
Def.Quad {
|
||||
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;fadetop,1;blend,"BlendMode_Add";diffusealpha,0.2);
|
||||
}
|
||||
};
|
||||
|
||||
-- Textures Frame
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
InitCommand=function(self)
|
||||
self:Center();
|
||||
end;
|
||||
|
||||
-- Scanline
|
||||
LoadActor("_texture scanline") .. {
|
||||
InitCommand=function(self)
|
||||
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
self:customtexturerect(0, 0, SCREEN_WIDTH / 16, SCREEN_HEIGHT / 32);
|
||||
self:diffuse(Color.Black);
|
||||
self:diffusealpha(0.25);
|
||||
end;
|
||||
};
|
||||
|
||||
-- Checkerboard
|
||||
LoadActor("_texture checkerboard") .. {
|
||||
InitCommand=function(self)
|
||||
self:zoomto(SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
self:customtexturerect(0, 0, SCREEN_WIDTH / 64, SCREEN_HEIGHT / 64);
|
||||
self:texcoordvelocity(0.5, 0);
|
||||
self:diffuse(Color.Black);
|
||||
self:diffusealpha(0.25);
|
||||
end;
|
||||
};
|
||||
InitCommand=cmd(Center);
|
||||
-- Scanline
|
||||
LoadActor("_texture scanline") .. {
|
||||
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;
|
||||
customtexturerect,0,0,SCREEN_WIDTH/16,SCREEN_HEIGHT/32;
|
||||
diffuse,Color.Black;
|
||||
diffusealpha,0.25;
|
||||
);
|
||||
};
|
||||
-- Checkerboard
|
||||
LoadActor("_texture checkerboard") .. {
|
||||
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;
|
||||
customtexturerect,0,0,SCREEN_WIDTH/64,SCREEN_HEIGHT/64;
|
||||
texcoordvelocity,0.5,0;
|
||||
diffuse,Color.Black;
|
||||
diffusealpha,0.25;
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user