mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-26 01:19:03 -06:00
Swapped opacity and brightness for hold color
This commit is contained in:
parent
ea8d008370
commit
ece853c9d3
@ -561,7 +561,8 @@ function GameMode:setNextOpacity(i)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function GameMode:setHoldOpacity()
|
function GameMode:setHoldOpacity()
|
||||||
love.graphics.setColor(1, 1, 1, self.held and 0.6 or 1)
|
local colour = self.held and 0.6 or 1
|
||||||
|
love.graphics.setColor(colour, colour, colour, 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
function GameMode:drawScoringInfo()
|
function GameMode:drawScoringInfo()
|
||||||
|
Loading…
Reference in New Issue
Block a user