bouncers
This commit is contained in:
@@ -33,6 +33,9 @@ local ProtimingCmds = {
|
|||||||
local AverageCmds = {
|
local AverageCmds = {
|
||||||
Pulse = THEME:GetMetric( "Protiming", "AveragePulseCommand" );
|
Pulse = THEME:GetMetric( "Protiming", "AveragePulseCommand" );
|
||||||
};
|
};
|
||||||
|
local TextCmds = {
|
||||||
|
Pulse = THEME:GetMetric( "Protiming", "TextPulseCommand" );
|
||||||
|
};
|
||||||
|
|
||||||
local TNSFrames = {
|
local TNSFrames = {
|
||||||
TapNoteScore_W1 = 0;
|
TapNoteScore_W1 = 0;
|
||||||
@@ -64,6 +67,13 @@ t[#t+1] = Def.ActorFrame {
|
|||||||
OnCommand=THEME:GetMetric("Protiming","AverageOnCommand");
|
OnCommand=THEME:GetMetric("Protiming","AverageOnCommand");
|
||||||
ResetCommand=cmd(finishtweening;stopeffect;visible,false);
|
ResetCommand=cmd(finishtweening;stopeffect;visible,false);
|
||||||
};
|
};
|
||||||
|
LoadFont("Common Normal") .. {
|
||||||
|
Name="TextDisplay";
|
||||||
|
Text="MS";
|
||||||
|
InitCommand=cmd(visible,false);
|
||||||
|
OnCommand=THEME:GetMetric("Protiming","TextOnCommand");
|
||||||
|
ResetCommand=cmd(finishtweening;stopeffect;visible,false);
|
||||||
|
};
|
||||||
Def.Quad {
|
Def.Quad {
|
||||||
Name="ProtimingGraphBG";
|
Name="ProtimingGraphBG";
|
||||||
InitCommand=cmd(visible,false;y,32;zoomto,192,16);
|
InitCommand=cmd(visible,false;y,32;zoomto,192,16);
|
||||||
@@ -166,6 +176,9 @@ t[#t+1] = Def.ActorFrame {
|
|||||||
c.ProtimingAverage:settextf("%.2f%%",clamp(100 - MakeAverage( tTotalJudgments ) * 1000 ,0,100));
|
c.ProtimingAverage:settextf("%.2f%%",clamp(100 - MakeAverage( tTotalJudgments ) * 1000 ,0,100));
|
||||||
AverageCmds['Pulse'](c.ProtimingAverage);
|
AverageCmds['Pulse'](c.ProtimingAverage);
|
||||||
|
|
||||||
|
c.TextDisplay:visible( bShowProtiming );
|
||||||
|
TextCmds['Pulse'](c.TextDisplay);
|
||||||
|
|
||||||
c.ProtimingGraphBG:visible( bShowProtiming );
|
c.ProtimingGraphBG:visible( bShowProtiming );
|
||||||
c.ProtimingGraphUnderlay:visible( bShowProtiming );
|
c.ProtimingGraphUnderlay:visible( bShowProtiming );
|
||||||
c.ProtimingGraphWindowW3:visible( bShowProtiming );
|
c.ProtimingGraphWindowW3:visible( bShowProtiming );
|
||||||
|
|||||||
@@ -307,6 +307,7 @@ RightOnCommand=horizalign,left;diffuse,PlayerColor(PLAYER_2)
|
|||||||
[Protiming]
|
[Protiming]
|
||||||
ProtimingOnCommand=shadowlength,1;horizalign,right;x,30;strokecolor,Color("Outline");skewx,-0.125;textglowmode,"TextGlowMode_Inner";
|
ProtimingOnCommand=shadowlength,1;horizalign,right;x,30;strokecolor,Color("Outline");skewx,-0.125;textglowmode,"TextGlowMode_Inner";
|
||||||
AverageOnCommand=shadowlength,1;horizalign,left;x,32;y,8;zoom,0.75;diffuse,ColorLightTone( Color("Green") );strokecolor,Color("Outline");skewx,-0.125;textglowmode,"TextGlowMode_Inner";
|
AverageOnCommand=shadowlength,1;horizalign,left;x,32;y,8;zoom,0.75;diffuse,ColorLightTone( Color("Green") );strokecolor,Color("Outline");skewx,-0.125;textglowmode,"TextGlowMode_Inner";
|
||||||
|
TextOnCommand=shadowlength,1;horizalign,left;x,32;y,-6;zoom,0.5;strokecolor,Color("Outline");skewx,-0.125;textglowmode,"TextGlowMode_Inner";
|
||||||
#
|
#
|
||||||
ProtimingW1Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W1"];sleep,2;linear,0.5;diffuse,Color("Invisible");
|
ProtimingW1Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W1"];sleep,2;linear,0.5;diffuse,Color("Invisible");
|
||||||
ProtimingW2Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W2"];sleep,2;linear,0.5;diffuse,Color("Invisible");
|
ProtimingW2Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W2"];sleep,2;linear,0.5;diffuse,Color("Invisible");
|
||||||
@@ -315,7 +316,8 @@ ProtimingW4Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("W
|
|||||||
ProtimingW5Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W5"];sleep,2;linear,0.5;diffuse,Color("Invisible");
|
ProtimingW5Command=finishtweening;diffuse,Color("White");zoom,1.15;glow,Color("White");linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_W5"];sleep,2;linear,0.5;diffuse,Color("Invisible");
|
||||||
ProtimingMissCommand=finishtweening;diffusealpha,1;zoom,1.15;glow,GameColor.Judgment["JudgmentLine_Miss"];linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_Miss"];sleep,2;linear,0.5;diffuse,Color("Invisible");
|
ProtimingMissCommand=finishtweening;diffusealpha,1;zoom,1.15;glow,GameColor.Judgment["JudgmentLine_Miss"];linear,0.05;zoom,1;glow,Color("Invisible");diffuse,GameColor.Judgment["JudgmentLine_Miss"];sleep,2;linear,0.5;diffuse,Color("Invisible");
|
||||||
#
|
#
|
||||||
AveragePulseCommand=finishtweening;diffusealpha,1;zoom,0.75*1.25;decelerate,0.05;zoom,0.75;sleep,2;linear,0.5;diffusealpha,0;
|
AveragePulseCommand=finishtweening;diffusealpha,1;zoom,0.75*1.025;decelerate,0.05;zoom,0.75;sleep,2;linear,0.5;diffusealpha,0;
|
||||||
|
TextPulseCommand=finishtweening;diffusealpha,1;zoom,0.5*1.025;decelerate,0.05;zoom,0.5;sleep,2;linear,0.5;diffusealpha,0;
|
||||||
[Player]
|
[Player]
|
||||||
# ReceptorArrowsYStandard=GetTapPosition('Standard')
|
# ReceptorArrowsYStandard=GetTapPosition('Standard')
|
||||||
# ReceptorArrowsYReverse=GetTapPosition('Reverse')
|
# ReceptorArrowsYReverse=GetTapPosition('Reverse')
|
||||||
|
|||||||
Reference in New Issue
Block a user