theme changes from midi; fixes percent position in selmusic + new color setup (interesting to themers only, really)
This commit is contained in:
@@ -162,12 +162,12 @@ Color = {
|
|||||||
-- Remapped Color Module, since some themes are crazy
|
-- Remapped Color Module, since some themes are crazy
|
||||||
Colors = Color
|
Colors = Color
|
||||||
|
|
||||||
local PlayerColors = {
|
GameColor = {
|
||||||
|
PlayerColors = {
|
||||||
PLAYER_1 = color("#ef403d"),
|
PLAYER_1 = color("#ef403d"),
|
||||||
PLAYER_2 = color("#0089cf")
|
PLAYER_2 = color("#0089cf"),
|
||||||
}
|
},
|
||||||
|
Difficulty = {
|
||||||
local DifficultyColors = {
|
|
||||||
--[[ These are for 'Custom' Difficulty Ranks. It can be very useful
|
--[[ These are for 'Custom' Difficulty Ranks. It can be very useful
|
||||||
in some cases, especially to apply new colors for stuff you
|
in some cases, especially to apply new colors for stuff you
|
||||||
couldn't before. (huh? -aj) ]]
|
couldn't before. (huh? -aj) ]]
|
||||||
@@ -189,12 +189,8 @@ local DifficultyColors = {
|
|||||||
Difficulty_Edit = color("0.8,0.8,0.8,1"), -- gray
|
Difficulty_Edit = color("0.8,0.8,0.8,1"), -- gray
|
||||||
Difficulty_Couple = color("#ed0972"), -- hot pink
|
Difficulty_Couple = color("#ed0972"), -- hot pink
|
||||||
Difficulty_Routine = color("#ff9a00") -- orange
|
Difficulty_Routine = color("#ff9a00") -- orange
|
||||||
}
|
},
|
||||||
DifficultyColors["Crazy"] = DifficultyColors["Hard"];
|
Stage = {
|
||||||
-- DifficultyColors["Freestyle"] = Color["Purple"];
|
|
||||||
DifficultyColors["Nightmare"] = DifficultyColors["Challenge"];
|
|
||||||
|
|
||||||
local StageColors = {
|
|
||||||
Stage_1st = color("#00ffc7"),
|
Stage_1st = color("#00ffc7"),
|
||||||
Stage_2nd = color("#58ff00"),
|
Stage_2nd = color("#58ff00"),
|
||||||
Stage_3rd = color("#f400ff"),
|
Stage_3rd = color("#f400ff"),
|
||||||
@@ -210,9 +206,8 @@ local StageColors = {
|
|||||||
Stage_Endless = color("#FFFFFF"),
|
Stage_Endless = color("#FFFFFF"),
|
||||||
Stage_Event = color("#FFFFFF"),
|
Stage_Event = color("#FFFFFF"),
|
||||||
Stage_Demo = color("#FFFFFF")
|
Stage_Demo = color("#FFFFFF")
|
||||||
}
|
},
|
||||||
|
Judgment = {
|
||||||
local JudgmentColors = {
|
|
||||||
JudgmentLine_W1 = color("#00ffc7"),
|
JudgmentLine_W1 = color("#00ffc7"),
|
||||||
JudgmentLine_W2 = color("#f6ff00"),
|
JudgmentLine_W2 = color("#f6ff00"),
|
||||||
JudgmentLine_W3 = color("#00ff78"),
|
JudgmentLine_W3 = color("#00ff78"),
|
||||||
@@ -221,7 +216,11 @@ local JudgmentColors = {
|
|||||||
JudgmentLine_Held = color("#FFFFFF"),
|
JudgmentLine_Held = color("#FFFFFF"),
|
||||||
JudgmentLine_Miss = color("#ff3c3c"),
|
JudgmentLine_Miss = color("#ff3c3c"),
|
||||||
JudgmentLine_MaxCombo = color("#ffc600")
|
JudgmentLine_MaxCombo = color("#ffc600")
|
||||||
}
|
},
|
||||||
|
};
|
||||||
|
GameColor.Difficulty["Crazy"] = GameColor.Difficulty["Hard"];
|
||||||
|
-- DifficultyColors["Freestyle"] = Color["Purple"];
|
||||||
|
GameColor.Difficulty["Nightmare"] = GameColor.Difficulty["Challenge"];
|
||||||
|
|
||||||
--[[ Fallbacks ]]
|
--[[ Fallbacks ]]
|
||||||
function Color(c)
|
function Color(c)
|
||||||
@@ -265,16 +264,16 @@ function PlayerScoreColor( pn )
|
|||||||
end
|
end
|
||||||
|
|
||||||
function CustomDifficultyToColor( sCustomDifficulty )
|
function CustomDifficultyToColor( sCustomDifficulty )
|
||||||
return DifficultyColors[sCustomDifficulty]
|
return GameColor.Difficulty[sCustomDifficulty]
|
||||||
end
|
end
|
||||||
|
|
||||||
function CustomDifficultyToDarkColor( sCustomDifficulty )
|
function CustomDifficultyToDarkColor( sCustomDifficulty )
|
||||||
local c = DifficultyColors[sCustomDifficulty]
|
local c = GameColor.Difficulty[sCustomDifficulty]
|
||||||
return { c[1]/2, c[2]/2, c[3]/2, c[4] }
|
return { c[1]/2, c[2]/2, c[3]/2, c[4] }
|
||||||
end
|
end
|
||||||
|
|
||||||
function CustomDifficultyToLightColor( sCustomDifficulty )
|
function CustomDifficultyToLightColor( sCustomDifficulty )
|
||||||
local c = DifficultyColors[sCustomDifficulty]
|
local c = GameColor.Difficulty[sCustomDifficulty]
|
||||||
return { scale(c[1],0,1,0.5,1), scale(c[2],0,1,0.5,1), scale(c[3],0,1,0.5,1), c[4] }
|
return { scale(c[1],0,1,0.5,1), scale(c[2],0,1,0.5,1), scale(c[3],0,1,0.5,1), c[4] }
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -283,7 +282,7 @@ function StepsOrTrailToColor(StepsOrTrail)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function StageToColor( stage )
|
function StageToColor( stage )
|
||||||
local c = Colors.Stage[stage]
|
local c = GameColor.Stage[stage]
|
||||||
if c then
|
if c then
|
||||||
return c
|
return c
|
||||||
end
|
end
|
||||||
@@ -291,12 +290,12 @@ function StageToColor( stage )
|
|||||||
end
|
end
|
||||||
|
|
||||||
function StageToStrokeColor( stage )
|
function StageToStrokeColor( stage )
|
||||||
local c = StageColors[stage]
|
local c = GameColor.Stage[stage]
|
||||||
return { c[1]/2, c[2]/2, c[3]/2, c[4] }
|
return { c[1]/2, c[2]/2, c[3]/2, c[4] }
|
||||||
end
|
end
|
||||||
|
|
||||||
function JudgmentLineToColor( i )
|
function JudgmentLineToColor( i )
|
||||||
local c = JudgmentColors[i]
|
local c = GameColor.Judgment[i]
|
||||||
if c then
|
if c then
|
||||||
return c
|
return c
|
||||||
end
|
end
|
||||||
@@ -304,6 +303,6 @@ function JudgmentLineToColor( i )
|
|||||||
end
|
end
|
||||||
|
|
||||||
function JudgmentLineToStrokeColor( i )
|
function JudgmentLineToStrokeColor( i )
|
||||||
local c = JudgmentColors[i]
|
local c = GameColor.Judgment[i]
|
||||||
return { c[1]/2, c[2]/2, c[3]/2, c[4] }
|
return { c[1]/2, c[2]/2, c[3]/2, c[4] }
|
||||||
end
|
end
|
||||||
@@ -1196,13 +1196,13 @@ StepsDisplayP2OffCommand=bouncebegin,0.15;zoomx,0;
|
|||||||
# StepsDisplayP2CurrentStepsP2ChangedMessageCommand=stoptweening;zoom,1.2;decelerate,0.1;zoom,1
|
# StepsDisplayP2CurrentStepsP2ChangedMessageCommand=stoptweening;zoom,1.2;decelerate,0.1;zoom,1
|
||||||
#
|
#
|
||||||
ShowPercentScoreP1=GAMESTATE:IsHumanPlayer(PLAYER_1)
|
ShowPercentScoreP1=GAMESTATE:IsHumanPlayer(PLAYER_1)
|
||||||
PercentScoreP1X=SCREEN_CENTER_X-80
|
PercentScoreP1X=SCREEN_CENTER_X-80-1
|
||||||
PercentScoreP1Y=SCREEN_BOTTOM-60
|
PercentScoreP1Y=SCREEN_BOTTOM-60
|
||||||
PercentScoreP1OnCommand=visible,THEME:GetMetric(Var "LoadingScreen","ShowPercentScoreP1");addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y
|
PercentScoreP1OnCommand=visible,THEME:GetMetric(Var "LoadingScreen","ShowPercentScoreP1");addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y
|
||||||
PercentScoreP1OffCommand=bouncebegin,0.15;zoomx,0;
|
PercentScoreP1OffCommand=bouncebegin,0.15;zoomx,0;
|
||||||
#
|
#
|
||||||
ShowPercentScoreP2=GAMESTATE:IsHumanPlayer(PLAYER_2)
|
ShowPercentScoreP2=GAMESTATE:IsHumanPlayer(PLAYER_2)
|
||||||
PercentScoreP2X=SCREEN_CENTER_X+160
|
PercentScoreP2X=SCREEN_CENTER_X+160-1
|
||||||
PercentScoreP2Y=SCREEN_BOTTOM-60
|
PercentScoreP2Y=SCREEN_BOTTOM-60
|
||||||
PercentScoreP2OnCommand=visible,THEME:GetMetric(Var "LoadingScreen","ShowPercentScoreP2");addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y
|
PercentScoreP2OnCommand=visible,THEME:GetMetric(Var "LoadingScreen","ShowPercentScoreP2");addy,SCREEN_CENTER_Y;decelerate,0.35;addy,-SCREEN_CENTER_Y
|
||||||
PercentScoreP2OffCommand=bouncebegin,0.15;zoomx,0;
|
PercentScoreP2OffCommand=bouncebegin,0.15;zoomx,0;
|
||||||
|
|||||||
Reference in New Issue
Block a user