DONE! All lua is future-proofed.
This commit is contained in:
@@ -1,20 +1,35 @@
|
||||
return Def.ActorFrame {
|
||||
LoadFont("Common Normal") .. {
|
||||
Name="TextTitle";
|
||||
InitCommand=cmd(y,-16.5;zoom,0.875;maxwidth,256/0.875;);
|
||||
OnCommand=cmd(shadowlength,1);
|
||||
-- TickCommand=cmd(finishtweening;diffusealpha,0;addx,-10;zoomx,1.25;zoomy,0;decelerate,0.25;diffusealpha,1;addx,10;zoom,1;sleep,0;glow,Color("White");decelerate,0.275;glow,Color("Invisible"));
|
||||
InitCommand=function(self)
|
||||
self:y(-16.5);
|
||||
self:zoom(0.875);
|
||||
self:maxwidth(256/0.875);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:shadowlength(1);
|
||||
end;
|
||||
};
|
||||
LoadFont("Common Normal") .. {
|
||||
Name="TextSubtitle";
|
||||
InitCommand=cmd(zoom,0.5;maxwidth,256/0.5);
|
||||
OnCommand=cmd(shadowlength,1);
|
||||
-- TickCommand=cmd(finishtweening;diffusealpha,0;addy,-10;addx,10;decelerate,0.25;diffusealpha,1;addy,10;addx,-10);
|
||||
InitCommand=function(self)
|
||||
self:zoom(0.5);
|
||||
self:maxwidth(256/0.5);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:shadowlength(1);
|
||||
end;
|
||||
};
|
||||
LoadFont("Common Normal") .. {
|
||||
Name="TextArtist";
|
||||
InitCommand=cmd(y,18;zoom,0.75;maxwidth,256/0.75);
|
||||
OnCommand=cmd(shadowlength,1;skewx,-0.2);
|
||||
-- TickCommand=cmd(finishtweening;diffusealpha,0;addy,10;addx,10;decelerate,0.25;diffusealpha,1;addy,-10;addx,-10);
|
||||
InitCommand=function(self)
|
||||
self:y(18);
|
||||
self:zoom(0.75);
|
||||
self:maxwidth(256/0.75);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:shadowlength(1);
|
||||
self:skewx(-0.2);
|
||||
end;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user