Theme changes:
* Disable Left+Right sorting on ScreenSelectCourse [AJ] * more fun stopbar [Midiman]
This commit is contained in:
@@ -1500,6 +1500,14 @@ Fallback="ScreenSelectMusic"
|
|||||||
DefaultSort="Nonstop"
|
DefaultSort="Nonstop"
|
||||||
ScreenModsCommand=setupcoursestagemods
|
ScreenModsCommand=setupcoursestagemods
|
||||||
MusicWheelType="CourseWheel"
|
MusicWheelType="CourseWheel"
|
||||||
|
Codes="CourseCodeDetector"
|
||||||
|
|
||||||
|
[CourseCodeDetector]
|
||||||
|
Fallback="CodeDetector"
|
||||||
|
NextSort1=
|
||||||
|
NextSort2=
|
||||||
|
NextSort3=
|
||||||
|
NextSort4=
|
||||||
|
|
||||||
[StepsDisplay]
|
[StepsDisplay]
|
||||||
FrameX=0
|
FrameX=0
|
||||||
|
|||||||
@@ -27,25 +27,50 @@ local function CreateStops()
|
|||||||
local secs = data[2];
|
local secs = data[2];
|
||||||
local beatTime = song:GetElapsedTimeFromBeat(beat);
|
local beatTime = song:GetElapsedTimeFromBeat(beat);
|
||||||
|
|
||||||
stopFrame[#stopFrame+1] = Def.Quad {
|
stopFrame[#stopFrame+1] = Def.ActorFrame {
|
||||||
InitCommand=function(self)
|
Def.Quad {
|
||||||
--self:diffuse(HSVA(192,1,0.8,0.8));
|
InitCommand=function(self)
|
||||||
self:shadowlength(0);
|
--self:diffuse(HSVA(192,1,0.8,0.8));
|
||||||
self:shadowcolor( color("#FFFFFF77") );
|
self:shadowlength(0);
|
||||||
-- set width
|
self:shadowcolor( color("#FFFFFF77") );
|
||||||
self:zoomto( math.max((secs/songLen)*fFrameWidth, 1), fFrameHeight );
|
-- set width
|
||||||
-- find location
|
self:zoomto( math.max((secs/songLen)*fFrameWidth, 1), fFrameHeight );
|
||||||
self:x( ( scale(beatTime, firstBeatSecs,lastBeatSecs, -fFrameWidth/2,fFrameWidth/2) ) );
|
-- find location
|
||||||
end;
|
self:x( ( scale(beatTime, firstBeatSecs,lastBeatSecs, -fFrameWidth/2,fFrameWidth/2) ) );
|
||||||
OnCommand=function(self)
|
end;
|
||||||
self:diffuse(Color("White"));
|
OnCommand=function(self)
|
||||||
self:sleep(beatTime-5);
|
self:diffuse(Color("White"));
|
||||||
self:linear(1);
|
self:sleep(beatTime+1);
|
||||||
self:diffuse(Color("Orange"));
|
self:linear(2);
|
||||||
self:sleep(4);
|
self:diffusealpha(0);
|
||||||
self:linear(2);
|
end;
|
||||||
self:diffusealpha(0);
|
};
|
||||||
end;
|
Def.Quad {
|
||||||
|
InitCommand=function(self)
|
||||||
|
--self:diffuse(HSVA(192,1,0.8,0.8));
|
||||||
|
self:shadowlength(0);
|
||||||
|
self:shadowcolor( color("#FFFFFF77") );
|
||||||
|
-- set width
|
||||||
|
self:zoomto( math.max((secs/songLen)*fFrameWidth, 1), fFrameHeight );
|
||||||
|
-- find location
|
||||||
|
self:x( ( scale(beatTime, firstBeatSecs,lastBeatSecs, -fFrameWidth/2,fFrameWidth/2) ) );
|
||||||
|
end;
|
||||||
|
OnCommand=function(self)
|
||||||
|
self:diffusealpha(1);
|
||||||
|
self:diffuseshift();
|
||||||
|
self:effectcolor1(Color("Orange"));
|
||||||
|
self:effectcolor2(Color("Red"));
|
||||||
|
self:effectclock('beat');
|
||||||
|
self:effectperiod(1/8);
|
||||||
|
--
|
||||||
|
self:diffusealpha(0);
|
||||||
|
self:sleep(beatTime+1);
|
||||||
|
-- self:linear(1);
|
||||||
|
self:diffusealpha(1);
|
||||||
|
self:linear(4);
|
||||||
|
self:diffusealpha(0);
|
||||||
|
end;
|
||||||
|
};
|
||||||
--OnCommand=cmd(diffuse,Color("White");sleep,math.min(0.00001+(secs-5),0.00001);linear,1;diffuse,Color("Orange");sleep,4;linear,2;diffusealpha,0);
|
--OnCommand=cmd(diffuse,Color("White");sleep,math.min(0.00001+(secs-5),0.00001);linear,1;diffuse,Color("Orange");sleep,4;linear,2;diffusealpha,0);
|
||||||
--OnCommand=cmd(diffuse,Color("White");linear,1;diffuse,Color("Orange"););
|
--OnCommand=cmd(diffuse,Color("White");linear,1;diffuse,Color("Orange"););
|
||||||
};
|
};
|
||||||
@@ -71,14 +96,14 @@ for pn in ivalues(PlayerNumber) do
|
|||||||
ActorUtil.LoadAllCommandsAndSetXY(self,MetricsName);
|
ActorUtil.LoadAllCommandsAndSetXY(self,MetricsName);
|
||||||
end;
|
end;
|
||||||
};
|
};
|
||||||
CreateStops();
|
|
||||||
Def.SongMeterDisplay {
|
Def.SongMeterDisplay {
|
||||||
StreamWidth=THEME:GetMetric( MetricsName, 'StreamWidth' );
|
StreamWidth=THEME:GetMetric( MetricsName, 'StreamWidth' );
|
||||||
Stream=LoadActor( THEME:GetPathG( 'SongMeterDisplay', 'stream ' .. PlayerNumberToString(pn) ) )..{
|
Stream=LoadActor( THEME:GetPathG( 'SongMeterDisplay', 'stream ' .. PlayerNumberToString(pn) ) )..{
|
||||||
InitCommand=cmd(diffusealpha,0.5;blend,Blend.Add;);
|
InitCommand=cmd(diffuse,PlayerColor(pn);diffusealpha,0.5;blend,Blend.Add;);
|
||||||
};
|
};
|
||||||
Tip=LoadActor( THEME:GetPathG( 'SongMeterDisplay', 'tip ' .. PlayerNumberToString(pn) ) );
|
Tip=LoadActor( THEME:GetPathG( 'SongMeterDisplay', 'tip ' .. PlayerNumberToString(pn) ) ) .. { InitCommand=cmd(visible,false); };
|
||||||
};
|
};
|
||||||
|
CreateStops();
|
||||||
};
|
};
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user