changes to colors
This commit is contained in:
@@ -116,21 +116,13 @@ function ColorDarkTone(c)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function PlayerColor( pn )
|
function PlayerColor( pn )
|
||||||
if pn == PLAYER_1 then
|
if pn == PLAYER_1 then return color("#ef403d") end -- pink-red
|
||||||
return color("#ef403d") -- pink-red
|
if pn == PLAYER_2 then return color("#0089cf") end -- sea-blue
|
||||||
end
|
|
||||||
if pn == PLAYER_2 then
|
|
||||||
return color("#0089cf") -- sea-blue
|
|
||||||
end
|
|
||||||
return color("1,1,1,1")
|
return color("1,1,1,1")
|
||||||
end
|
end
|
||||||
function PlayerScoreColor( pn )
|
function PlayerScoreColor( pn )
|
||||||
if pn == PLAYER_1 then
|
if pn == PLAYER_1 then return color("#ef403d") end -- pink-red
|
||||||
return color("#ef403d") -- pink-red
|
if pn == PLAYER_2 then return color("#0089cf") end -- sea-blue
|
||||||
end
|
|
||||||
if pn == PLAYER_2 then
|
|
||||||
return color("#0089cf") -- sea-blue
|
|
||||||
end
|
|
||||||
return color("1,1,1,1")
|
return color("1,1,1,1")
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -153,11 +145,7 @@ function StepsOrTrailToColor(StepsOrTrail)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function StageToColor( stage )
|
function StageToColor( stage )
|
||||||
local c = GameColor.Stage[stage]
|
return GameColor.Stage[stage] or color("#000000")
|
||||||
if c then
|
|
||||||
return c
|
|
||||||
end
|
|
||||||
return color("#000000")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function StageToStrokeColor( stage )
|
function StageToStrokeColor( stage )
|
||||||
@@ -166,11 +154,7 @@ function StageToStrokeColor( stage )
|
|||||||
end
|
end
|
||||||
|
|
||||||
function JudgmentLineToColor( i )
|
function JudgmentLineToColor( i )
|
||||||
local c = GameColor.Judgment[i]
|
return GameColor.Judgment[i] or color("#000000")
|
||||||
if c then
|
|
||||||
return c
|
|
||||||
end
|
|
||||||
return color("#000000")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function JudgmentLineToStrokeColor( i )
|
function JudgmentLineToStrokeColor( i )
|
||||||
|
|||||||
Reference in New Issue
Block a user