Files
itgmania212121/Themes/_fallback/BGAnimations/ScreenInit background/default.lua
T

85 lines
1.8 KiB
Lua
Raw Normal View History

2011-03-17 01:47:30 -04:00
local t = Def.ActorFrame {};
t[#t+1] = Def.ActorFrame {
2013-07-03 20:08:34 -04:00
InitCommand=function(self)
self:Center();
end;
2011-03-17 01:47:30 -04:00
Def.Quad {
2013-07-03 20:08:34 -04:00
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;
2011-03-17 01:47:30 -04:00
};
};
t[#t+1] = Def.ActorFrame {
2013-07-03 20:08:34 -04:00
InitCommand=function(self)
self:Center();
end;
2011-03-17 01:47:30 -04:00
Def.ActorFrame {
Def.Quad {
2013-07-03 20:08:34 -04:00
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH, 128);
end;
OnCommand=function(self)
self:diffusealpha(1);
self:sleep(1.5);
self:linear(0.25);
end;
2011-03-17 01:47:30 -04:00
};
LoadActor("ssc") .. {
2013-07-03 20:08:34 -04:00
OnCommand=function(self)
self:diffusealpha(0);
self:linear(1);
self:diffusealpha(1);
self:sleep(0.75);
self:linear(0.25);
self:diffusealpha(0);
end;
2011-03-17 01:47:30 -04:00
};
};
Def.ActorFrame {
2013-07-03 20:08:34 -04:00
OnCommand=function(self)
self:playcommandonchildren("ChildrenOn");
end;
ChildrenOnCommand=function(self)
self:diffusealpha(0);
self:sleep(2);
self:linear(0.25);
self:diffusealpha(1);
end;
2011-03-17 01:47:30 -04:00
LoadFont("Common Normal") .. {
Text=ProductID();
2013-07-03 20:08:34 -04:00
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;
2011-03-17 01:47:30 -04:00
};
LoadFont("Common Normal") .. {
Text=THEME:GetThemeDisplayName();
2013-07-03 20:08:34 -04:00
OnCommand=function(self)
self:diffuse(color("0,0,0,1"));
self:strokecolor(color("#f7941d"));
end;
2011-03-17 01:47:30 -04:00
};
LoadFont("Common Normal") .. {
Text="Created by " .. THEME:GetThemeAuthor();
2013-07-03 20:08:34 -04:00
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;
2011-03-17 01:47:30 -04:00
};
};
};
2010-01-26 21:00:30 -06:00
return t