mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-12-25 22:19:01 -06:00
Gave Joker a bit of... dramatic flair
This commit is contained in:
parent
a77a890f45
commit
a1ca24a66b
@ -118,7 +118,14 @@ end
|
||||
function JokerGame:drawGrid() self.grid:drawOutline() end
|
||||
|
||||
function JokerGame:drawScoringInfo()
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
local colour = (
|
||||
(
|
||||
rush and
|
||||
(self.frames % 4 < 2 and self.frames ~= 0)
|
||||
) and {1, 1, 0.3, 1}
|
||||
or {1, 1, 1, 1}
|
||||
)
|
||||
love.graphics.setColor(colour)
|
||||
|
||||
love.graphics.setFont(font_3x5_2)
|
||||
love.graphics.print(
|
||||
@ -136,7 +143,7 @@ function JokerGame:drawScoringInfo()
|
||||
love.graphics.setColor(1, 0.3, 0.3, 1)
|
||||
end
|
||||
love.graphics.printf(formatTime(self.time_limit), 240, 140, 120, "left")
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
love.graphics.setColor(colour)
|
||||
love.graphics.printf(self.level, 240, 220, 90, "left")
|
||||
love.graphics.printf(math.max(self.stock, 0), 240, 300, 90, "left")
|
||||
if (self.ready_frames ~= 0) then
|
||||
|
Loading…
Reference in New Issue
Block a user