DONE! All lua is future-proofed.
This commit is contained in:
@@ -1,35 +1,46 @@
|
||||
local t = Def.ActorFrame {};
|
||||
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
FOV=90;
|
||||
InitCommand=cmd(Center);
|
||||
Def.Quad {
|
||||
InitCommand=cmd(scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT);
|
||||
OnCommand=cmd(diffuse,color("#FFCB05");diffusebottomedge,color("#F0BA00"));
|
||||
};
|
||||
Def.ActorFrame {
|
||||
InitCommand=cmd(hide_if,hideFancyElements;);
|
||||
LoadActor("_checkerboard") .. {
|
||||
InitCommand=cmd(rotationy,0;rotationz,0;rotationx,-90/4*3.5;zoomto,SCREEN_WIDTH*2,SCREEN_HEIGHT*2;customtexturerect,0,0,SCREEN_WIDTH*4/256,SCREEN_HEIGHT*4/256);
|
||||
OnCommand=cmd(texcoordvelocity,0,0.5;diffuse,color("#ffd400");diffusealpha,0.5;fadetop,1);
|
||||
};
|
||||
};
|
||||
LoadActor("_particleLoader") .. {
|
||||
InitCommand=cmd(x,-SCREEN_CENTER_X;y,-SCREEN_CENTER_Y;hide_if,hideFancyElements;);
|
||||
};
|
||||
--[[ LoadActor("_particles") .. {
|
||||
InitCommand=cmd(x,-SCREEN_CENTER_X;y,-SCREEN_CENTER_Y);
|
||||
}; --]]
|
||||
--[[ LoadActor("_pattern") .. {
|
||||
InitCommand=cmd(z,32;x,4;y,4;;rotationy,-12.25;rotationz,-30;rotationx,-20;zoomto,SCREEN_WIDTH*2,SCREEN_HEIGHT*2;customtexturerect,0,0,SCREEN_WIDTH*4/256,SCREEN_HEIGHT*4/256);
|
||||
OnCommand=cmd(texcoordvelocity,0.125,0.5;diffuse,Color("Black");diffusealpha,0.5);
|
||||
}; --]]
|
||||
--[[ LoadActor("_grid") .. {
|
||||
InitCommand=cmd(customtexturerect,0,0,(SCREEN_WIDTH+1)/4,SCREEN_HEIGHT/4;SetTextureFiltering,true);
|
||||
OnCommand=cmd(zoomto,SCREEN_WIDTH+1,SCREEN_HEIGHT;diffuse,Color("Black");diffuseshift;effecttiming,(1/8)*2,0,(7/8)*2,0;effectclock,'beatnooffset';
|
||||
effectcolor2,Color("White");effectcolor1,Color("Black");fadebottom,0.25;fadetop,0.25;croptop,48/480;cropbottom,48/480;blend,Blend.Add;
|
||||
diffusealpha,0.155);
|
||||
}; --]]
|
||||
};
|
||||
|
||||
return t;
|
||||
local t = Def.ActorFrame {};
|
||||
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
FOV=90;
|
||||
InitCommand=function(self)
|
||||
self:Center();
|
||||
end;
|
||||
Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:scaletoclipped(SCREEN_WIDTH,SCREEN_HEIGHT);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:diffuse(color("#FFCB05"));
|
||||
self:diffusebottomedge(color("#F0BA00"));
|
||||
end;
|
||||
};
|
||||
Def.ActorFrame {
|
||||
InitCommand=function(self)
|
||||
self:hide_if(hideFancyElements);
|
||||
end;
|
||||
LoadActor("_checkerboard") .. {
|
||||
InitCommand=function(self)
|
||||
self:rotationy(0);
|
||||
self:rotationz(0);
|
||||
self:rotationx(-90 / 4 * 3.5);
|
||||
self:zoomto(SCREEN_WIDTH * 2, SCREEN_HEIGHT * 2);
|
||||
self:customtexturerect(0, 0, SCREEN_WIDTH * 4 / 256, SCREEN_HEIGHT * 4 / 256);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:texcoordvelocity(0, 0.5);
|
||||
self:diffuse(color("#ffd400"));
|
||||
self:diffusealpha(0.5);
|
||||
self:fadetop(1);
|
||||
end;
|
||||
};
|
||||
};
|
||||
LoadActor("_particleLoader") .. {
|
||||
InitCommand=function(self)
|
||||
self:x(-SCREEN_CENTER_X);
|
||||
self:y(-SCREEN_CENTER_Y);
|
||||
self:hide_if(hideFancyElements);
|
||||
end;
|
||||
};
|
||||
};
|
||||
|
||||
return t;
|
||||
|
||||
Reference in New Issue
Block a user