(LARGE COMMIT) bring /new from broken. copyright things abound please do not bundle this yet.
@@ -0,0 +1,31 @@
|
|||||||
|
local t = Def.ActorFrame {};
|
||||||
|
-- Header
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
InitCommand=cmd(x,SCREEN_LEFT;y,SCREEN_TOP;draworder,100);
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,top;
|
||||||
|
zoomto,SCREEN_WIDTH,64;
|
||||||
|
diffuse,ThemeColor.Secondary);
|
||||||
|
};
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,top;
|
||||||
|
zoomto,SCREEN_WIDTH,48;
|
||||||
|
diffuse,ThemeColor.Background);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
-- Footer
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
InitCommand=cmd(x,SCREEN_LEFT;y,SCREEN_BOTTOM;draworder,100);
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,bottom;
|
||||||
|
zoomto,SCREEN_WIDTH,64;
|
||||||
|
diffuse,ThemeColor.Secondary);
|
||||||
|
};
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,bottom;
|
||||||
|
zoomto,SCREEN_WIDTH,32;
|
||||||
|
diffuse,ThemeColor.Background);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
return t;
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
local t = LoadFallbackB();
|
||||||
|
--
|
||||||
|
t[#t+1] = StandardDecorationFromFileOptional("BannerFrame","BannerFrame");
|
||||||
|
t[#t+1] = StandardDecorationFromFileOptional("BPMDisplay","BPMDisplay");
|
||||||
|
t[#t+1] = StandardDecorationFromFileOptional("StageDisplay","StageDisplay");
|
||||||
|
-- StepsDisplay
|
||||||
|
local function CreateStepsDisplay( _pn )
|
||||||
|
local function set(self, _pn)
|
||||||
|
self:SetFromGameState( _pn);
|
||||||
|
end
|
||||||
|
|
||||||
|
local t = Def.StepsDisplay {
|
||||||
|
InitCommand=cmd(Load,"StepsDisplay",GAMESTATE:GetPlayerState(_pn););
|
||||||
|
};
|
||||||
|
|
||||||
|
if _pn == PLAYER_1 then
|
||||||
|
t.CurrentStepsP1ChangedMessageCommand=function(self) set(self, _pn); end;
|
||||||
|
t.CurrentTrailP1ChangedMessageCommand=function(self) set(self, _pn); end;
|
||||||
|
else
|
||||||
|
t.CurrentStepsP2ChangedMessageCommand=function(self) set(self, _pn); end;
|
||||||
|
t.CurrentTrailP2ChangedMessageCommand=function(self) set(self, _pn); end;
|
||||||
|
end
|
||||||
|
|
||||||
|
return t;
|
||||||
|
end
|
||||||
|
-- Create Background For Each Player
|
||||||
|
--[[ for pn in ivalues(PlayerNumber) do
|
||||||
|
local MetricsName = "PlayerFrame" .. PlayerNumberToString(pn)
|
||||||
|
t[#t+1] = LoadActor(THEME:GetPathG(Var "LoadingScreen","PlayerFrame")) .. {
|
||||||
|
InitCommand=function(self) self:player(pn); self:name(MetricsName); ActorUtil.LoadAllCommandsAndSetXY(self,Var "LoadingScreen"); end;
|
||||||
|
};
|
||||||
|
end ]]
|
||||||
|
-- Create StepsDisplay for each player
|
||||||
|
for pn in ivalues(PlayerNumber) do
|
||||||
|
local MetricsName = "StepsDisplay" .. PlayerNumberToString(pn);
|
||||||
|
t[#t+1] = CreateStepsDisplay(pn) .. {
|
||||||
|
InitCommand=function(self) self:player(pn); self:name(MetricsName); ActorUtil.LoadAllCommandsAndSetXY(self,Var "LoadingScreen"); end;
|
||||||
|
};
|
||||||
|
end
|
||||||
|
|
||||||
|
return t;
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
local t = Def.ActorFrame {};
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH-_safe.w,SCREEN_HEIGHT-_safe.h;queuecommand,"On");
|
||||||
|
OnCommand=cmd(basealpha,0.4;diffusealpha,0;visible,false);
|
||||||
|
ToggleConsoleDisplayMessageCommand=function(self)
|
||||||
|
self:visible(true);
|
||||||
|
self:diffusealpha( 0.4 - self:GetDiffuseAlpha() );
|
||||||
|
end;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
return t;
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
local t = Def.ActorFrame {};
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH-_safe.w,SCREEN_HEIGHT-_safe.h);
|
||||||
|
ScreenChangedMessageCommand=cmd(playcommand,"On");
|
||||||
|
OnCommand=cmd(basealpha,0.4;diffusealpha,0;visible,false;blend,Blend.Add);
|
||||||
|
ToggleConsoleDisplayMessageCommand=function(self)
|
||||||
|
self:visible(true);
|
||||||
|
self:diffusealpha( 0.4 - self:GetDiffuseAlpha() );
|
||||||
|
end;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
return t;
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
local t = Def.ActorFrame {};
|
||||||
|
--
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
InitCommand=cmd(Center);
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT);
|
||||||
|
OnCommand=cmd(diffuse,ThemeColor.Background);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
--
|
||||||
|
return t
|
||||||
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,74 @@
|
|||||||
|
local t = Def.ActorFrame{};
|
||||||
|
|
||||||
|
local Params = {
|
||||||
|
NumParticles = 15,
|
||||||
|
VelocityXMin = 225,
|
||||||
|
VelocityXMax = 1000,
|
||||||
|
VelocityYMin = 0,
|
||||||
|
VelocityYMax = 0,
|
||||||
|
VelocityZMin = 0,
|
||||||
|
VelocityZMax = 0,
|
||||||
|
BobRateZMin = 0.4,
|
||||||
|
BobRateZMax = 0.7,
|
||||||
|
ZoomMin = 0.5,
|
||||||
|
ZoomMax = 1,
|
||||||
|
SpinZ = 0,
|
||||||
|
BobZ = 52,
|
||||||
|
Width = 600,
|
||||||
|
Height = 8,
|
||||||
|
File = "_comet",
|
||||||
|
};
|
||||||
|
|
||||||
|
local tParticleInfo = {}
|
||||||
|
|
||||||
|
for i=1,Params.NumParticles do
|
||||||
|
tParticleInfo[i] = {
|
||||||
|
X = math.random(Params.VelocityXMin, Params.VelocityXMax),
|
||||||
|
Y = Params.VelocityYMin ~= Params.VelocityYMax and math.random(Params.VelocityYMin, Params.VelocityYMax) or Params.VelocityYMin,
|
||||||
|
Z = Params.VelocityZMin ~= Params.VelocityZMax and math.random(Params.VelocityZMin, Params.VelocityZMax) or Params.VelocityZMin,
|
||||||
|
Zoom = math.random(Params.ZoomMin*1000,Params.ZoomMax*1000) / 1000,
|
||||||
|
BobZRate = math.random(Params.BobRateZMin*1000,Params.BobRateZMax*1000) / 1000,
|
||||||
|
Age = 0,
|
||||||
|
};
|
||||||
|
t[#t+1] = LoadActor( Params.File )..{
|
||||||
|
Name="Particle"..i;
|
||||||
|
InitCommand=function(self)
|
||||||
|
self:basezoom(tParticleInfo[i].Zoom);
|
||||||
|
self:x(math.random(SCREEN_LEFT+(Params.Width/2),SCREEN_RIGHT-(Params.Width/2)));
|
||||||
|
self:y(math.random(SCREEN_TOP+(Params.Height/2),SCREEN_BOTTOM-(Params.Height/2)));
|
||||||
|
--self:z(math.random(-64,0));
|
||||||
|
end;
|
||||||
|
OnCommand=cmd(diffuse,Color.Black;diffusealpha,0.5;fadeleft,1);
|
||||||
|
};
|
||||||
|
end
|
||||||
|
|
||||||
|
local function UpdateParticles(self,DeltaTime)
|
||||||
|
tParticles = self:GetChildren();
|
||||||
|
for i=1, Params.NumParticles do
|
||||||
|
local p = tParticles["Particle"..i];
|
||||||
|
local vX = tParticleInfo[i].X;
|
||||||
|
local vY = tParticleInfo[i].Y;
|
||||||
|
local vZ = tParticleInfo[i].Z;
|
||||||
|
tParticleInfo[i].Age = tParticleInfo[i].Age + DeltaTime;
|
||||||
|
p:x(p:GetX() + (vX * DeltaTime));
|
||||||
|
p:y(p:GetY() + (vY * DeltaTime));
|
||||||
|
p:z(p:GetZ() + (vZ * DeltaTime));
|
||||||
|
-- p:zoom( 1 + math.cos(
|
||||||
|
-- (tParticleInfo[i].Age * math.pi*2)
|
||||||
|
-- ) * 0.125 );
|
||||||
|
if p:GetX() > SCREEN_RIGHT + (Params.Width/2 - p:GetZ()) then
|
||||||
|
p:x(SCREEN_LEFT - (Params.Width/2));
|
||||||
|
elseif p:GetX() < SCREEN_LEFT - (Params.Width/2 - p:GetZ()) then
|
||||||
|
p:x(SCREEN_RIGHT + (Params.Width/2));
|
||||||
|
end
|
||||||
|
if p:GetY() > SCREEN_BOTTOM + (Params.Height/2 - p:GetZ()) then
|
||||||
|
p:y(SCREEN_TOP - (Params.Height/2));
|
||||||
|
elseif p:GetY() < SCREEN_TOP - (Params.Height/2 - p:GetZ()) then
|
||||||
|
p:y(SCREEN_BOTTOM + (Params.Height/2));
|
||||||
|
end
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
t.InitCommand = cmd(fov,90;SetUpdateFunction,UpdateParticles);
|
||||||
|
|
||||||
|
return t;
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
local t = Def.ActorFrame{};
|
||||||
|
|
||||||
|
local Params = {
|
||||||
|
NumParticles = 45,
|
||||||
|
VelocityXMin = -1,
|
||||||
|
VelocityXMax = 1,
|
||||||
|
VelocityYMin = -250,
|
||||||
|
VelocityYMax = -130,
|
||||||
|
VelocityZMin = 0,
|
||||||
|
VelocityZMax = 0,
|
||||||
|
BobRateZMin = 0.4,
|
||||||
|
BobRateZMax = 0.7,
|
||||||
|
ZoomMin = 0.5,
|
||||||
|
ZoomMax = 1,
|
||||||
|
SpinZ = 0,
|
||||||
|
BobZ = 52,
|
||||||
|
Width = 8,
|
||||||
|
Height = 8,
|
||||||
|
File = "_block",
|
||||||
|
};
|
||||||
|
|
||||||
|
local tParticleInfo = {}
|
||||||
|
|
||||||
|
for i=1,Params.NumParticles do
|
||||||
|
tParticleInfo[i] = {
|
||||||
|
X = 0,
|
||||||
|
Y = Params.VelocityYMin ~= Params.VelocityYMax and math.random(Params.VelocityYMin, Params.VelocityYMax) or Params.VelocityYMin,
|
||||||
|
Z = Params.VelocityZMin ~= Params.VelocityZMax and math.random(Params.VelocityZMin, Params.VelocityZMax) or Params.VelocityZMin,
|
||||||
|
Zoom = math.random(Params.ZoomMin*1000,Params.ZoomMax*1000) / 1000,
|
||||||
|
BobZRate = math.random(Params.BobRateZMin*1000,Params.BobRateZMax*1000) / 1000,
|
||||||
|
Age = 0,
|
||||||
|
};
|
||||||
|
t[#t+1] = LoadActor( Params.File )..{
|
||||||
|
Name="Particle"..i;
|
||||||
|
InitCommand=function(self)
|
||||||
|
self:basezoom(tParticleInfo[i].Zoom);
|
||||||
|
self:x(math.random(SCREEN_LEFT+(Params.Width/2),SCREEN_RIGHT-(Params.Width/2)));
|
||||||
|
self:y(math.random(SCREEN_TOP+(Params.Height/2),SCREEN_BOTTOM-(Params.Height/2)));
|
||||||
|
--self:z(math.random(-64,0));
|
||||||
|
end;
|
||||||
|
OnCommand=cmd(diffuse,Color.Black;diffusealpha,0.65);
|
||||||
|
};
|
||||||
|
end
|
||||||
|
|
||||||
|
local function UpdateParticles(self,DeltaTime)
|
||||||
|
tParticles = self:GetChildren();
|
||||||
|
for i=1, Params.NumParticles do
|
||||||
|
local p = tParticles["Particle"..i];
|
||||||
|
local vX = tParticleInfo[i].X;
|
||||||
|
local vY = tParticleInfo[i].Y;
|
||||||
|
local vZ = tParticleInfo[i].Z;
|
||||||
|
local vAlpha = scale(p:GetY(),SCREEN_BOTTOM,SCREEN_CENTER_Y-60,0,1);
|
||||||
|
tParticleInfo[i].Age = tParticleInfo[i].Age + DeltaTime;
|
||||||
|
p:x(p:GetX() + (vX * DeltaTime));
|
||||||
|
p:y(p:GetY() + (vY * DeltaTime));
|
||||||
|
p:z(p:GetZ() + (vZ * DeltaTime));
|
||||||
|
p:diffusealpha( 0.45 - (vAlpha*0.45) );
|
||||||
|
-- p:zoom( 1 + math.cos(
|
||||||
|
-- (tParticleInfo[i].Age * math.pi*2)
|
||||||
|
-- ) * 0.125 );
|
||||||
|
if p:GetX() > SCREEN_RIGHT + (Params.Width/2 - p:GetZ()) then
|
||||||
|
p:x(SCREEN_LEFT - (Params.Width/2));
|
||||||
|
elseif p:GetX() < SCREEN_LEFT - (Params.Width/2 - p:GetZ()) then
|
||||||
|
p:x(SCREEN_RIGHT + (Params.Width/2));
|
||||||
|
end
|
||||||
|
if p:GetY() > SCREEN_BOTTOM + (Params.Height/2 - p:GetZ()) then
|
||||||
|
p:y(SCREEN_TOP - (Params.Height/2));
|
||||||
|
elseif p:GetY() < SCREEN_TOP - (Params.Height/2 - p:GetZ()) then
|
||||||
|
p:y(SCREEN_BOTTOM + (Params.Height/2));
|
||||||
|
end
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
t.InitCommand = cmd(fov,90;SetUpdateFunction,UpdateParticles);
|
||||||
|
|
||||||
|
return t;
|
||||||
|
After Width: | Height: | Size: 208 KiB |
|
After Width: | Height: | Size: 178 KiB |
|
After Width: | Height: | Size: 365 KiB |
@@ -0,0 +1,39 @@
|
|||||||
|
local t = Def.ActorFrame {};
|
||||||
|
--
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
InitCommand=cmd(Center);
|
||||||
|
--[[ LoadActor("_wallpaper") .. {
|
||||||
|
InitCommand=cmd(scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT);
|
||||||
|
};
|
||||||
|
LoadActor("EV01439N") .. {
|
||||||
|
InitCommand=cmd(scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT);
|
||||||
|
OnCommand=cmd(diffusealpha,0.35);
|
||||||
|
}; ]]
|
||||||
|
LoadActor("_raise G") .. {
|
||||||
|
InitCommand=cmd(scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT;diffusealpha,0.35);
|
||||||
|
};
|
||||||
|
LoadActor(THEME:GetPathG("","_textures/paper")) .. {
|
||||||
|
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;customtexturerect,0,0,500/SCREEN_WIDTH,500/SCREEN_HEIGHT);
|
||||||
|
OnCommand=cmd(diffusealpha,0.35);
|
||||||
|
};
|
||||||
|
LoadActor("_particle-Vert") .. {
|
||||||
|
InitCommand=cmd(x,-SCREEN_CENTER_X;y,-SCREEN_CENTER_Y);
|
||||||
|
};
|
||||||
|
LoadActor("_particle-Horiz") .. {
|
||||||
|
InitCommand=cmd(x,-SCREEN_CENTER_X;y,-SCREEN_CENTER_Y);
|
||||||
|
};
|
||||||
|
LoadActor(THEME:GetPathG("","_textures/paper")) .. {
|
||||||
|
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;customtexturerect,0,0,500/SCREEN_WIDTH,500/SCREEN_HEIGHT);
|
||||||
|
OnCommand=cmd(diffusealpha,0.35;blend,Blend.Add);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
InitCommand=cmd(Center);
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT);
|
||||||
|
OnCommand=cmd(diffuse,ThemeColor.Primary
|
||||||
|
diffusealpha,0.45);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
--
|
||||||
|
return t
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
return Def.Quad {
|
||||||
|
InitCommand=cmd(zoomto,8,8);
|
||||||
|
OnCommand=cmd(diffuse,Color.Black);
|
||||||
|
};
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
-- return Def.Quad {
|
||||||
|
-- InitCommand=cmd(zoomto,600,8);
|
||||||
|
-- OnCommand=cmd(diffuse,Color.Black;fadeleft,1);
|
||||||
|
-- };
|
||||||
|
return LoadActor("_comet");
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
-- Loads up a slew of objects to load into the screen, like how 3.9 does.
|
||||||
|
-- I prefer to keep these optional, incase another screen wants to hide
|
||||||
|
-- these elements.
|
||||||
|
local t = Def.ActorFrame {};
|
||||||
|
t[#t+1] = StandardDecorationFromFileOptional("Header","Header");
|
||||||
|
t[#t+1] = StandardDecorationFromFileOptional("Footer","Footer");
|
||||||
|
t[#t+1] = StandardDecorationFromFileOptional( "Help", "Help" );
|
||||||
|
return t
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
local t = Def.ActorFrame {};
|
||||||
|
local function GetTime(self)
|
||||||
|
local c = self:GetChildren();
|
||||||
|
local tTime = { Hour = nil, Minute = nil, Second = nil, Append = nil};
|
||||||
|
|
||||||
|
if Hour() then tTime.Hour = Hour() else tTime.Hour = 0 end;
|
||||||
|
if Minute() then tTime.Minute = Minute() else tTime.Minute = 0 end;
|
||||||
|
if Second() then tTime.Second = Second() else tTime.Second = 0 end;
|
||||||
|
|
||||||
|
if( Hour() < 12 ) then
|
||||||
|
tTime.Append = "AM"
|
||||||
|
else
|
||||||
|
tTime.Append = "PM"
|
||||||
|
end;
|
||||||
|
|
||||||
|
if( Hour() == 0 ) then
|
||||||
|
tTime.Hour = 12;
|
||||||
|
end;
|
||||||
|
|
||||||
|
c.Time:settextf("%02i:%02i:%02i %s",tTime.Hour,tTime.Minute,tTime.Second,tTime.Append);
|
||||||
|
end;
|
||||||
|
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
LoadActor(THEME:GetPathB("","_frame 3x3"),"rounded black",108,16) .. {
|
||||||
|
Name="Background";
|
||||||
|
};
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Text="Test";
|
||||||
|
Name="Time";
|
||||||
|
InitCommand=cmd(zoom,0.75);
|
||||||
|
};
|
||||||
|
--
|
||||||
|
InitCommand=cmd(x,SCREEN_RIGHT-96;y,24;visible,false);
|
||||||
|
BeginCommand=function(self)
|
||||||
|
self:SetUpdateFunction( GetTime );
|
||||||
|
self:SetUpdateRate( 1/15 );
|
||||||
|
end;
|
||||||
|
};
|
||||||
|
return t;
|
||||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1 @@
|
|||||||
|
_open sans semibold 24px
|
||||||
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,9 @@
|
|||||||
|
[main]
|
||||||
|
AdvanceExtraPixels=0
|
||||||
|
0=10
|
||||||
|
1=10
|
||||||
|
2=10
|
||||||
|
3=10
|
||||||
|
4=10
|
||||||
|
5=10
|
||||||
|
6=10
|
||||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 55 KiB |
@@ -0,0 +1,352 @@
|
|||||||
|
[common]
|
||||||
|
Baseline=27
|
||||||
|
Top=10
|
||||||
|
LineSpacing=33
|
||||||
|
DrawExtraPixelsLeft=4
|
||||||
|
DrawExtraPixelsRight=3
|
||||||
|
AdvanceExtraPixels=0
|
||||||
|
|
||||||
|
[main]
|
||||||
|
Line 0= !"#$%&'()*+,-.
|
||||||
|
Line 1=/0123456789:;<=
|
||||||
|
Line 2=>?@ABCDEFGHIJKL
|
||||||
|
Line 3=MNOPQRSTUVWXYZ[
|
||||||
|
Line 4=\]^_`abcdefghij
|
||||||
|
Line 5=klmnopqrstuvwxy
|
||||||
|
Line 6=z{|}~€‚ƒ„…†‡ˆ‰Š
|
||||||
|
Line 7=‹ŒŽ‘’“”•–—˜™š›œ
|
||||||
|
Line 8=žŸ ¡¢£¤¥¦§¨©ª«¬
|
||||||
|
Line 9=®¯°±²³´µ¶·¸¹º»
|
||||||
|
Line 10=¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊ
|
||||||
|
Line 11=ËÌÍÎÏÐÑÒÓÔÕÖרÙ
|
||||||
|
Line 12=ÚÛÜÝÞßàáâãäåæçè
|
||||||
|
Line 13=éêëìíîïðñòóôõö÷
|
||||||
|
Line 14=øùúûüýþÿ
|
||||||
|
|
||||||
|
0=6
|
||||||
|
1=7
|
||||||
|
2=10
|
||||||
|
3=16
|
||||||
|
4=14
|
||||||
|
5=21
|
||||||
|
6=18
|
||||||
|
7=6
|
||||||
|
8=8
|
||||||
|
9=8
|
||||||
|
10=13
|
||||||
|
11=14
|
||||||
|
12=6
|
||||||
|
13=8
|
||||||
|
14=7
|
||||||
|
15=9
|
||||||
|
16=14
|
||||||
|
17=14
|
||||||
|
18=14
|
||||||
|
19=14
|
||||||
|
20=14
|
||||||
|
21=14
|
||||||
|
22=14
|
||||||
|
23=14
|
||||||
|
24=14
|
||||||
|
25=14
|
||||||
|
26=7
|
||||||
|
27=7
|
||||||
|
28=14
|
||||||
|
29=14
|
||||||
|
30=14
|
||||||
|
31=11
|
||||||
|
32=22
|
||||||
|
33=16
|
||||||
|
34=16
|
||||||
|
35=15
|
||||||
|
36=18
|
||||||
|
37=13
|
||||||
|
38=13
|
||||||
|
39=17
|
||||||
|
40=18
|
||||||
|
41=7
|
||||||
|
42=7
|
||||||
|
43=15
|
||||||
|
44=13
|
||||||
|
45=22
|
||||||
|
46=19
|
||||||
|
47=19
|
||||||
|
48=15
|
||||||
|
49=19
|
||||||
|
50=15
|
||||||
|
51=13
|
||||||
|
52=14
|
||||||
|
53=18
|
||||||
|
54=15
|
||||||
|
55=23
|
||||||
|
56=15
|
||||||
|
57=14
|
||||||
|
58=14
|
||||||
|
59=8
|
||||||
|
60=9
|
||||||
|
61=8
|
||||||
|
62=13
|
||||||
|
63=10
|
||||||
|
64=14
|
||||||
|
65=14
|
||||||
|
66=15
|
||||||
|
67=12
|
||||||
|
68=15
|
||||||
|
69=14
|
||||||
|
70=9
|
||||||
|
71=13
|
||||||
|
72=15
|
||||||
|
73=7
|
||||||
|
74=7
|
||||||
|
75=14
|
||||||
|
76=7
|
||||||
|
77=23
|
||||||
|
78=15
|
||||||
|
79=15
|
||||||
|
80=15
|
||||||
|
81=15
|
||||||
|
82=10
|
||||||
|
83=12
|
||||||
|
84=9
|
||||||
|
85=15
|
||||||
|
86=13
|
||||||
|
87=20
|
||||||
|
88=13
|
||||||
|
89=13
|
||||||
|
90=11
|
||||||
|
91=9
|
||||||
|
92=13
|
||||||
|
93=9
|
||||||
|
94=14
|
||||||
|
95=14
|
||||||
|
96=6
|
||||||
|
97=14
|
||||||
|
98=11
|
||||||
|
99=20
|
||||||
|
100=12
|
||||||
|
101=12
|
||||||
|
102=14
|
||||||
|
103=30
|
||||||
|
104=13
|
||||||
|
105=8
|
||||||
|
106=23
|
||||||
|
107=14
|
||||||
|
108=5
|
||||||
|
109=5
|
||||||
|
110=10
|
||||||
|
111=10
|
||||||
|
112=9
|
||||||
|
113=12
|
||||||
|
114=24
|
||||||
|
115=14
|
||||||
|
116=18
|
||||||
|
117=12
|
||||||
|
118=8
|
||||||
|
119=23
|
||||||
|
120=11
|
||||||
|
121=14
|
||||||
|
122=6
|
||||||
|
123=7
|
||||||
|
124=14
|
||||||
|
125=14
|
||||||
|
126=14
|
||||||
|
127=14
|
||||||
|
128=13
|
||||||
|
129=12
|
||||||
|
130=14
|
||||||
|
131=20
|
||||||
|
132=9
|
||||||
|
133=13
|
||||||
|
134=14
|
||||||
|
135=8
|
||||||
|
136=20
|
||||||
|
137=12
|
||||||
|
138=10
|
||||||
|
139=14
|
||||||
|
140=9
|
||||||
|
141=9
|
||||||
|
142=14
|
||||||
|
143=15
|
||||||
|
144=16
|
||||||
|
145=7
|
||||||
|
146=5
|
||||||
|
147=9
|
||||||
|
148=9
|
||||||
|
149=13
|
||||||
|
150=20
|
||||||
|
151=20
|
||||||
|
152=20
|
||||||
|
153=11
|
||||||
|
154=16
|
||||||
|
155=16
|
||||||
|
156=16
|
||||||
|
157=16
|
||||||
|
158=16
|
||||||
|
159=16
|
||||||
|
160=22
|
||||||
|
161=15
|
||||||
|
162=13
|
||||||
|
163=13
|
||||||
|
164=13
|
||||||
|
165=13
|
||||||
|
166=7
|
||||||
|
167=7
|
||||||
|
168=7
|
||||||
|
169=7
|
||||||
|
170=18
|
||||||
|
171=19
|
||||||
|
172=19
|
||||||
|
173=19
|
||||||
|
174=19
|
||||||
|
175=19
|
||||||
|
176=19
|
||||||
|
177=14
|
||||||
|
178=19
|
||||||
|
179=18
|
||||||
|
180=18
|
||||||
|
181=18
|
||||||
|
182=18
|
||||||
|
183=14
|
||||||
|
184=15
|
||||||
|
185=16
|
||||||
|
186=14
|
||||||
|
187=14
|
||||||
|
188=14
|
||||||
|
189=14
|
||||||
|
190=14
|
||||||
|
191=14
|
||||||
|
192=21
|
||||||
|
193=12
|
||||||
|
194=14
|
||||||
|
195=14
|
||||||
|
196=14
|
||||||
|
197=14
|
||||||
|
198=7
|
||||||
|
199=7
|
||||||
|
200=7
|
||||||
|
201=7
|
||||||
|
202=15
|
||||||
|
203=15
|
||||||
|
204=15
|
||||||
|
205=15
|
||||||
|
206=15
|
||||||
|
207=15
|
||||||
|
208=15
|
||||||
|
209=14
|
||||||
|
210=15
|
||||||
|
211=15
|
||||||
|
212=15
|
||||||
|
213=15
|
||||||
|
214=15
|
||||||
|
215=13
|
||||||
|
216=15
|
||||||
|
217=13
|
||||||
|
|
||||||
|
[alt]
|
||||||
|
Line 0= Ą˘Ł¤ĽŚ§¨Š
|
||||||
|
Line 1=ŞŤŹŽŻ°ą˛ł
|
||||||
|
Line 2=´ľśˇ¸šşťź˝
|
||||||
|
Line 3=žżŔÁÂĂÄĹĆÇ
|
||||||
|
Line 4=ČÉĘËĚÍÎĎĐŃ
|
||||||
|
Line 5=ŇÓÔŐÖ×ŘŮÚŰ
|
||||||
|
Line 6=ÜÝŢßŕáâăäĺ
|
||||||
|
Line 7=ćçčéęëěíîď
|
||||||
|
Line 8=đńňóôőö÷řů
|
||||||
|
Line 9=úűüýţ˙
|
||||||
|
|
||||||
|
0=6
|
||||||
|
1=16
|
||||||
|
2=14
|
||||||
|
3=13
|
||||||
|
4=14
|
||||||
|
5=13
|
||||||
|
6=13
|
||||||
|
7=12
|
||||||
|
8=14
|
||||||
|
9=13
|
||||||
|
10=13
|
||||||
|
11=14
|
||||||
|
12=14
|
||||||
|
13=8
|
||||||
|
14=14
|
||||||
|
15=14
|
||||||
|
16=10
|
||||||
|
17=14
|
||||||
|
18=5
|
||||||
|
19=7
|
||||||
|
20=14
|
||||||
|
21=7
|
||||||
|
22=12
|
||||||
|
23=14
|
||||||
|
24=5
|
||||||
|
25=12
|
||||||
|
26=12
|
||||||
|
27=9
|
||||||
|
28=11
|
||||||
|
29=14
|
||||||
|
30=11
|
||||||
|
31=11
|
||||||
|
32=15
|
||||||
|
33=16
|
||||||
|
34=16
|
||||||
|
35=16
|
||||||
|
36=16
|
||||||
|
37=13
|
||||||
|
38=15
|
||||||
|
39=15
|
||||||
|
40=15
|
||||||
|
41=13
|
||||||
|
42=13
|
||||||
|
43=13
|
||||||
|
44=13
|
||||||
|
45=7
|
||||||
|
46=7
|
||||||
|
47=18
|
||||||
|
48=18
|
||||||
|
49=19
|
||||||
|
50=19
|
||||||
|
51=19
|
||||||
|
52=19
|
||||||
|
53=19
|
||||||
|
54=19
|
||||||
|
55=14
|
||||||
|
56=15
|
||||||
|
57=18
|
||||||
|
58=18
|
||||||
|
59=18
|
||||||
|
60=18
|
||||||
|
61=14
|
||||||
|
62=14
|
||||||
|
63=16
|
||||||
|
64=10
|
||||||
|
65=14
|
||||||
|
66=14
|
||||||
|
67=14
|
||||||
|
68=14
|
||||||
|
69=7
|
||||||
|
70=12
|
||||||
|
71=12
|
||||||
|
72=12
|
||||||
|
73=14
|
||||||
|
74=14
|
||||||
|
75=14
|
||||||
|
76=14
|
||||||
|
77=7
|
||||||
|
78=7
|
||||||
|
79=15
|
||||||
|
80=15
|
||||||
|
81=15
|
||||||
|
82=15
|
||||||
|
83=15
|
||||||
|
84=15
|
||||||
|
85=15
|
||||||
|
86=15
|
||||||
|
87=14
|
||||||
|
88=10
|
||||||
|
89=15
|
||||||
|
90=15
|
||||||
|
91=15
|
||||||
|
92=15
|
||||||
|
93=13
|
||||||
|
94=9
|
||||||
|
95=7
|
||||||
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1,74 @@
|
|||||||
|
local switchTime = 2;
|
||||||
|
local bThen, bNow, bMultipleBPMs;
|
||||||
|
local iCurrent = 0;
|
||||||
|
local Song, BPMs;
|
||||||
|
local updateTimer = function(self, fDeltaTime)
|
||||||
|
local c = self:GetChildren();
|
||||||
|
-- use aux as a timer internally.
|
||||||
|
self:aux( self:getaux() + fDeltaTime );
|
||||||
|
-- debug
|
||||||
|
-- c.BPMText:settextf("d:%0.16f (a:%0.2f)",fDeltaTime,self:getaux());
|
||||||
|
bNow = (math.floor( self:getaux() % switchTime ) == 0) and true or false;
|
||||||
|
local bChanged = (bThen == bNow);
|
||||||
|
-- Toggle current index
|
||||||
|
if bChanged then
|
||||||
|
iCurrent = 1 - iCurrent;
|
||||||
|
if ( BPMs[1] == BPMs[2] ) then
|
||||||
|
bMultipleBPMs = false;
|
||||||
|
c.BPMText:targetnumber(clamp(BPMs[1],0,9999));
|
||||||
|
else
|
||||||
|
bMultipleBPMs = true;
|
||||||
|
c.BPMText:targetnumber(clamp(BPMs[1+iCurrent],0,9999));
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
--
|
||||||
|
--
|
||||||
|
bThen = (math.floor( self:getaux() % 2 ) ~= 0) and true or false;
|
||||||
|
end;
|
||||||
|
return Def.ActorFrame {
|
||||||
|
BeginCommand=function(self)
|
||||||
|
self:SetUpdateFunction( updateTimer );
|
||||||
|
end;
|
||||||
|
CurrentSongChangedMessageCommand=function(self)
|
||||||
|
self:aux(0);
|
||||||
|
self:playcommand( GAMESTATE:GetCurrentSong():GetTimingData():HasBPMChanges() and "MultipleBPM" or "SingleBPM" );
|
||||||
|
end;
|
||||||
|
-- BPM Background
|
||||||
|
Def.Quad {
|
||||||
|
Name="BPMBackground";
|
||||||
|
InitCommand=cmd(zoomto,96,32;diffuse,ThemeColor.Secondary;shadowlength,2;shadowcolor,Color.Alpha(ColorDarkTone(ThemeColor.Primary),0.95));
|
||||||
|
};
|
||||||
|
-- BPM Multiple Warning
|
||||||
|
Def.Quad {
|
||||||
|
Name="BPMFlag";
|
||||||
|
InitCommand=cmd(x,-32;y,4;basezoomx,24;basezoomy,4;fadeleft,0.2;faderight,0.2;diffuse,ThemeColor.Primary;thump,1;effectclock,'beatnooffset');
|
||||||
|
SingleBPMCommand=cmd(finishtweening;decelerate,0.1;zoom,0;zoomx,8;diffusealpha,0);
|
||||||
|
MultipleBPMCommand=cmd(finishtweening;smooth,0.05;zoom,1;diffusealpha,1;);
|
||||||
|
};
|
||||||
|
-- BPM Label
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Name="BPMLabel";
|
||||||
|
Text="BPM";
|
||||||
|
InitCommand=cmd(x,-32;y,-8;zoom,0.5);
|
||||||
|
};
|
||||||
|
-- BPM Display
|
||||||
|
Def.RollingNumbers {
|
||||||
|
Name="BPMText";
|
||||||
|
File=THEME:GetPathF("Common","Normal");
|
||||||
|
InitCommand=cmd(Load,"RollingNumbersBPMDisplay");
|
||||||
|
OnCommand=cmd(horizalign,left;x,-16);
|
||||||
|
BeginCommand=cmd(playcommand,"Set");
|
||||||
|
CurrentSongChangedMessageCommand=cmd(playcommand,"Set");
|
||||||
|
SetCommand=function(self)
|
||||||
|
Song = GAMESTATE:GetCurrentSong();
|
||||||
|
BPMs = Song:GetDisplayBpms() or {0,0};
|
||||||
|
-- reset numbers
|
||||||
|
self:targetnumber( clamp(BPMs[1],0,9999) );
|
||||||
|
-- (force once)
|
||||||
|
if (self:getaux() == 0) then
|
||||||
|
self:settext(clamp(BPMs[1],0,9999));
|
||||||
|
self:aux( 1 );
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
return Def.ActorFrame {
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(zoomto,320+16,80+16);
|
||||||
|
OnCommand=cmd(diffuse,ThemeColor.Secondary);
|
||||||
|
};
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(zoomto,320+16,24;y,-48-12);
|
||||||
|
OnCommand=cmd(diffuse,ThemeColor.Primary;diffuserightedge,ColorMidTone(ThemeColor.Primary));
|
||||||
|
};
|
||||||
|
};
|
||||||
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1,17 @@
|
|||||||
|
return Def.ActorFrame {
|
||||||
|
CurrentSongChangedMessageCommand=function(self)
|
||||||
|
self:aux(0);
|
||||||
|
self:playcommand( GAMESTATE:GetCurrentSong():GetTimingData():HasBPMChanges() and "MultipleBPM" or "SingleBPM" );
|
||||||
|
end;
|
||||||
|
-- BPM Background
|
||||||
|
Def.Quad {
|
||||||
|
Name="BPMBackground";
|
||||||
|
InitCommand=cmd(zoomto,96,32;diffuse,ThemeColor.Secondary;shadowlength,2;shadowcolor,Color.Alpha(ColorDarkTone(ThemeColor.Primary),0.95));
|
||||||
|
};
|
||||||
|
-- BPM Label
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Name="BPMLabel";
|
||||||
|
Text="Time";
|
||||||
|
InitCommand=cmd(x,-32;y,-8;zoom,0.5);
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
return Def.ActorFrame {
|
||||||
|
-- Base
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,bottom;
|
||||||
|
zoomto,SCREEN_WIDTH,80;
|
||||||
|
diffuse,ThemeColor.Background;diffusealpha,0.5);
|
||||||
|
};
|
||||||
|
-- Inner Shadow
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,top;
|
||||||
|
y,-80;
|
||||||
|
zoomto,SCREEN_WIDTH,2;
|
||||||
|
diffuse,ThemeColor.Primary;diffusealpha,1;);
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
return Def.ActorFrame {
|
||||||
|
-- Base
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,top;
|
||||||
|
zoomto,SCREEN_WIDTH,48;
|
||||||
|
diffuse,ThemeColor.Background;diffusealpha,0.5);
|
||||||
|
};
|
||||||
|
-- Line
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,bottom;
|
||||||
|
y,48;
|
||||||
|
zoomto,SCREEN_WIDTH,2;
|
||||||
|
diffuse,ThemeColor.Primary;diffusealpha,1;
|
||||||
|
);
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
return Def.ActorFrame {
|
||||||
|
--[[ Def.ActorFrame {
|
||||||
|
InitCommand=cmd(y,-4);
|
||||||
|
-- 1 1
|
||||||
|
Def.ActorFrame {
|
||||||
|
-- Icon
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Text="&MENULEFT;&MENURIGHT;";
|
||||||
|
InitCommand=cmd(x,32;y,-64;
|
||||||
|
diffuse,ThemeColor.Primary;
|
||||||
|
zoom,0.675;
|
||||||
|
);
|
||||||
|
};
|
||||||
|
-- Text
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Text="LeftHelpDisplayMenuItem1";
|
||||||
|
InitCommand=cmd(horizalign,left;
|
||||||
|
x,64;y,-64;
|
||||||
|
diffuse,ThemeColor.Primary;
|
||||||
|
zoom,0.675;
|
||||||
|
);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
-- 2 1
|
||||||
|
Def.ActorFrame {
|
||||||
|
-- Icon
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Text="&START;";
|
||||||
|
InitCommand=cmd(x,32;y,-40;
|
||||||
|
diffuse,ThemeColor.Primary;
|
||||||
|
zoom,0.675;
|
||||||
|
);
|
||||||
|
};
|
||||||
|
-- Text
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Text="LeftHelpDisplayMenuItem2";
|
||||||
|
InitCommand=cmd(horizalign,left;
|
||||||
|
x,64;y,-40;
|
||||||
|
diffuse,ThemeColor.Primary;
|
||||||
|
zoom,0.675;
|
||||||
|
);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}; ]]
|
||||||
|
};
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
return Def.ActorFrame {
|
||||||
|
-- Base
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,bottom;
|
||||||
|
zoomto,SCREEN_WIDTH,80;
|
||||||
|
diffuse,ThemeColor.Secondary);
|
||||||
|
};
|
||||||
|
-- System Layer
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,bottom;
|
||||||
|
zoomto,SCREEN_WIDTH,32;
|
||||||
|
diffuse,ThemeColor.Background);
|
||||||
|
};
|
||||||
|
-- Inner Shadow
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,top;
|
||||||
|
y,-80;
|
||||||
|
zoomto,SCREEN_WIDTH,5;
|
||||||
|
diffuse,Color('Black');diffusealpha,0.25;
|
||||||
|
fadebottom,1);
|
||||||
|
};
|
||||||
|
-- Inner Hard Line
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,top;
|
||||||
|
y,-80;
|
||||||
|
zoomto,SCREEN_WIDTH,1;
|
||||||
|
diffuse,Color('Black');diffusealpha,0.125;);
|
||||||
|
};
|
||||||
|
-- Outer White Fade
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,bottom;
|
||||||
|
y,-80;
|
||||||
|
zoomto,SCREEN_WIDTH,8;
|
||||||
|
diffuse,Color('White');diffusealpha,0.125;
|
||||||
|
fadetop,1);
|
||||||
|
};
|
||||||
|
-- Outer White Line
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,bottom;
|
||||||
|
y,-80;
|
||||||
|
zoomto,SCREEN_WIDTH,1;
|
||||||
|
diffuse,Color('White');diffusealpha,0.125;);
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -0,0 +1,98 @@
|
|||||||
|
local t = Def.ActorFrame {};
|
||||||
|
local function UpdateTriangleFrame(self)
|
||||||
|
local curBPS = GAMESTATE:GetSongBPS() and GAMESTATE:GetSongBPS() or 1;
|
||||||
|
local c = self:GetChildren();
|
||||||
|
local auxRate = 6;
|
||||||
|
--
|
||||||
|
c.TriangleFrame:aux( math.mod( c.TriangleFrame:getaux() + ( curBPS * auxRate ), 360) );
|
||||||
|
c.TriangleFrame:rotationz( c.TriangleFrame:GetRotationZ() + ( curBPS * 1.5 ) );
|
||||||
|
c.TriangleFrame:zoom( 1.125 - ((c.TriangleFrame:getaux() / 360) * 0.5) );
|
||||||
|
-- c.TriangleFrame:x( math.cos( math.rad(c.TriangleFrame:getaux()) ) * 8 );
|
||||||
|
-- c.TriangleFrame:y(math.sin( math.rad(c.TriangleFrame:getaux()) ) * 8);
|
||||||
|
end;
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
-- Base
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,top;
|
||||||
|
zoomto,SCREEN_WIDTH,48;
|
||||||
|
diffuse,ThemeColor.Secondary);
|
||||||
|
};
|
||||||
|
-- Inner Shadow
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,bottom;
|
||||||
|
y,48;
|
||||||
|
zoomto,SCREEN_WIDTH,5;
|
||||||
|
diffuse,Color('Black');diffusealpha,0.25;
|
||||||
|
fadetop,1);
|
||||||
|
};
|
||||||
|
-- Inner Hard Line
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,bottom;
|
||||||
|
y,48;
|
||||||
|
zoomto,SCREEN_WIDTH,1;
|
||||||
|
diffuse,Color('Black');diffusealpha,0.125;);
|
||||||
|
};
|
||||||
|
-- Outer White Fade
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,top;
|
||||||
|
y,48;
|
||||||
|
zoomto,SCREEN_WIDTH,8;
|
||||||
|
diffuse,Color('White');diffusealpha,0.125;
|
||||||
|
fadebottom,1);
|
||||||
|
};
|
||||||
|
-- Outer White Line
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;vertalign,top;
|
||||||
|
y,48;
|
||||||
|
zoomto,SCREEN_WIDTH,1;
|
||||||
|
diffuse,Color('White');diffusealpha,0.125;);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
t[#t+1] = Def.ActorFrame { Name="TriangleFrame";
|
||||||
|
InitCommand=cmd(x,24;y,32);
|
||||||
|
BeginCommand=function(self)
|
||||||
|
self:SetUpdateFunction( UpdateTriangleFrame );
|
||||||
|
end;
|
||||||
|
-- Triangle Beaterator
|
||||||
|
Def.ActorFrame {
|
||||||
|
Name="TriangleFrame";
|
||||||
|
--~ OnCommand=cmd(thump,2;effectclock,'beatnooffset';effectmagnitude,1,1.135,1);
|
||||||
|
--
|
||||||
|
LoadActor(THEME:GetPathG("_primitive","Triangle")) .. {
|
||||||
|
Name="Triangle";
|
||||||
|
OnCommand=cmd(diffuse,ThemeColor.Primary;zoom,0.75);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
-- Text
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Text=string.upper(THEME:GetString( Var "LoadingScreen","HeaderText"));
|
||||||
|
InitCommand=cmd(horizalign,left;
|
||||||
|
x,16;y,16;
|
||||||
|
diffuse,ThemeColor.Primary;
|
||||||
|
zoom,0.875;
|
||||||
|
);
|
||||||
|
};
|
||||||
|
-- //
|
||||||
|
--[[ LoadFont("Common Normal") .. {
|
||||||
|
Text="//";
|
||||||
|
InitCommand=cmd(horizalign,left;
|
||||||
|
x,16;y,32;
|
||||||
|
diffuse,color("0.7,0.7,0.7,1");
|
||||||
|
zoom,0.5;
|
||||||
|
);
|
||||||
|
}; ]]
|
||||||
|
-- Textem
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Text=string.upper("SELECT AND CHOOSE THE BEST ONE");
|
||||||
|
InitCommand=cmd(horizalign,left;
|
||||||
|
x,34;y,32;
|
||||||
|
diffuse,color("0.7,0.7,0.7,1");
|
||||||
|
zoom,0.5;
|
||||||
|
skewx,-0.125;
|
||||||
|
);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
return t
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
local t = Def.ActorFrame {};
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
InitCommand=cmd(y,-56;visible,false);
|
||||||
|
--
|
||||||
|
Def.ActorFrame {
|
||||||
|
InitCommand=cmd(x,32);
|
||||||
|
LoadActor(THEME:GetPathB("","_frame 3x3"),"rounded black",32,12) .. {
|
||||||
|
Name="Background";
|
||||||
|
};
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Text=string.upper("Info");
|
||||||
|
InitCommand=cmd(zoom,0.5);
|
||||||
|
};
|
||||||
|
--
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Text=string.upper("Let's get it on now, select and choose the best ones. Let's get it on now 5 4 3 2 1 ..");
|
||||||
|
InitCommand=cmd(horizalign,left;x,32;zoom,0.5;shadowlength,1);
|
||||||
|
};
|
||||||
|
-- Fade
|
||||||
|
Def.Quad {
|
||||||
|
InitCommand=cmd(horizalign,left;x,32;zoomto,64,32);
|
||||||
|
OnCommand=cmd(diffuse,ThemeColor.Secondary;faderight,1);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
--
|
||||||
|
};
|
||||||
|
return t;
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
local stages = Def.ActorFrame {
|
||||||
|
BeginCommand=cmd(playcommand,"Set";);
|
||||||
|
CurrentSongChangedMessageCommand=cmd(finishtweening;playcommand,"Set";);
|
||||||
|
};
|
||||||
|
local curScreen = Var "LoadingScreen";
|
||||||
|
local curStage = GAMESTATE:GetCurrentStage();
|
||||||
|
local curStageIndex = GAMESTATE:GetCurrentStageIndex();
|
||||||
|
|
||||||
|
local t = Def.ActorFrame {};
|
||||||
|
t[#t+1] = Def.ActorFrame {
|
||||||
|
LoadActor(THEME:GetPathB("_frame","3x3"),"rounded black",160,20);
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Text=curStage .. " (" .. curStageIndex .. ")";
|
||||||
|
InitCommand=cmd(zoom,0.75;y,-2;shadowlength,1;
|
||||||
|
diffuse,StageToColor(curStage);
|
||||||
|
diffusetopedge,ColorLightTone(StageToColor(curStage));
|
||||||
|
-- shadowcolor,ColorDarkTone(StageToColor(curStage));
|
||||||
|
);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
return t
|
||||||
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 372 KiB |
|
After Width: | Height: | Size: 158 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 180 KiB |
@@ -0,0 +1,3 @@
|
|||||||
|
[ScreenWithMenuElements]
|
||||||
|
HeaderText=MODE SELECT
|
||||||
|
HeaderSubText=
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
ThemeColor = {
|
||||||
|
Primary = color("#ffcb05");
|
||||||
|
Secondary = color("#353f38");
|
||||||
|
Background = color("#000000");
|
||||||
|
}
|
||||||
|
|
||||||
|
ThemeElementColor = {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
local TitleMaxWidth = 228; -- zoom w/subtitle is 0.75 (multiply by 1.25)
|
||||||
|
local SubtitleMaxWidth = 420; -- zoom is 0.6 (multiply zoom,1 value by 1.4)
|
||||||
|
local ArtistMaxWidth = 300/0.8;
|
||||||
|
|
||||||
|
--[[
|
||||||
|
-- The old (cmd(blah))(Actor) syntax is hard to read.
|
||||||
|
-- This is longer, but much easier to read. - Colby
|
||||||
|
--]]
|
||||||
|
function TextBannerAfterSet(self,param)
|
||||||
|
local Title = self:GetChild("Title")
|
||||||
|
local Subtitle = self:GetChild("Subtitle")
|
||||||
|
local Artist = self:GetChild("Artist")
|
||||||
|
|
||||||
|
if Subtitle:GetText() == "" then
|
||||||
|
Title:maxwidth(TitleMaxWidth)
|
||||||
|
Title:y(-11)
|
||||||
|
Title:zoom(1)
|
||||||
|
|
||||||
|
-- hide so that the game skips drawing.
|
||||||
|
Subtitle:visible(false)
|
||||||
|
|
||||||
|
Artist:zoom(0.75)
|
||||||
|
Artist:maxwidth(ArtistMaxWidth)
|
||||||
|
Artist:y(8)
|
||||||
|
else
|
||||||
|
Title:maxwidth(TitleMaxWidth*1.25)
|
||||||
|
Title:y(-14)
|
||||||
|
Title:zoom(0.875)
|
||||||
|
|
||||||
|
-- subtitle below title
|
||||||
|
Subtitle:visible(true)
|
||||||
|
Subtitle:zoom(0.625)
|
||||||
|
Subtitle:y(0)
|
||||||
|
Subtitle:maxwidth(SubtitleMaxWidth)
|
||||||
|
|
||||||
|
Artist:zoom(0.6)
|
||||||
|
Artist:maxwidth(ArtistMaxWidth)
|
||||||
|
Artist:y(12)
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
_silent
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
_silent
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
_silent
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
_silent
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
[ThemeInfo]
|
||||||
|
DisplayName=[SSC] Urban Fragments II
|
||||||
|
Author=SSC
|
||||||
|
After Width: | Height: | Size: 2.9 MiB |
|
After Width: | Height: | Size: 2.9 MiB |
|
After Width: | Height: | Size: 269 KiB |
|
After Width: | Height: | Size: 351 KiB |
|
After Width: | Height: | Size: 440 KiB |
|
After Width: | Height: | Size: 439 KiB |
|
After Width: | Height: | Size: 410 KiB |
|
After Width: | Height: | Size: 381 KiB |
|
After Width: | Height: | Size: 508 KiB |
|
After Width: | Height: | Size: 799 KiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 445 KiB |
|
After Width: | Height: | Size: 310 KiB |
|
After Width: | Height: | Size: 852 KiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 208 KiB |
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 900 KiB |
|
After Width: | Height: | Size: 260 KiB |
|
After Width: | Height: | Size: 274 KiB |
|
After Width: | Height: | Size: 156 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 900 KiB |
|
After Width: | Height: | Size: 188 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 210 KiB |
|
After Width: | Height: | Size: 245 KiB |
|
After Width: | Height: | Size: 163 KiB |
|
After Width: | Height: | Size: 25 KiB |