85 lines
1.8 KiB
Lua
85 lines
1.8 KiB
Lua
local t = Def.ActorFrame {};
|
|
|
|
t[#t+1] = Def.ActorFrame {
|
|
InitCommand=function(self)
|
|
self:Center();
|
|
end;
|
|
Def.Quad {
|
|
InitCommand=function(self)
|
|
self:scaletoclipped(SCREEN_WIDTH, SCREEN_HEIGHT);
|
|
end;
|
|
OnCommand=function(self)
|
|
self:diffuse(color("0,0,0,1"));
|
|
self:diffusetopedge(color("0.1,0.1,0.1,1"));
|
|
end;
|
|
};
|
|
};
|
|
t[#t+1] = Def.ActorFrame {
|
|
InitCommand=function(self)
|
|
self:Center();
|
|
end;
|
|
Def.ActorFrame {
|
|
Def.Quad {
|
|
InitCommand=function(self)
|
|
self:zoomto(SCREEN_WIDTH, 128);
|
|
end;
|
|
OnCommand=function(self)
|
|
self:diffusealpha(1);
|
|
self:sleep(1.5);
|
|
self:linear(0.25);
|
|
end;
|
|
};
|
|
LoadActor("ssc") .. {
|
|
OnCommand=function(self)
|
|
self:diffusealpha(0);
|
|
self:linear(1);
|
|
self:diffusealpha(1);
|
|
self:sleep(0.75);
|
|
self:linear(0.25);
|
|
self:diffusealpha(0);
|
|
end;
|
|
};
|
|
};
|
|
Def.ActorFrame {
|
|
OnCommand=function(self)
|
|
self:playcommandonchildren("ChildrenOn");
|
|
end;
|
|
ChildrenOnCommand=function(self)
|
|
self:diffusealpha(0);
|
|
self:sleep(2);
|
|
self:linear(0.25);
|
|
self:diffusealpha(1);
|
|
end;
|
|
LoadFont("Common Normal") .. {
|
|
Text=ProductID();
|
|
InitCommand=function(self)
|
|
self:y(-20);
|
|
self:zoom(0.75);
|
|
end;
|
|
OnCommand=function(self)
|
|
self:diffuse(color("0,0,0,1"));
|
|
self:strokecolor(color("#f7941d"));
|
|
end;
|
|
};
|
|
LoadFont("Common Normal") .. {
|
|
Text=THEME:GetThemeDisplayName();
|
|
OnCommand=function(self)
|
|
self:diffuse(color("0,0,0,1"));
|
|
self:strokecolor(color("#f7941d"));
|
|
end;
|
|
};
|
|
LoadFont("Common Normal") .. {
|
|
Text="Created by " .. THEME:GetThemeAuthor();
|
|
InitCommand=function(self)
|
|
self:y(24);
|
|
self:zoom(0.75);
|
|
end;
|
|
OnCommand=function(self)
|
|
self:diffuse(color("0,0,0,1"));
|
|
self:strokecolor(color("#f7941d"));
|
|
end;
|
|
};
|
|
};
|
|
};
|
|
|
|
return t |