mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-12-22 16:59:02 -06:00
Fixed side next for survival_ax
I thought I already did this for all modes but apparently I missed this one lol.
This commit is contained in:
parent
b2e20895b8
commit
d5ffe9de8d
@ -143,22 +143,22 @@ function SurvivalAXGame:drawScoringInfo()
|
||||
self.das.frames .. " " ..
|
||||
strTrueValues(self.prev_inputs)
|
||||
)
|
||||
if self.lines < 150 then love.graphics.printf("TIME LEFT", 240, 250, 80, "left") end
|
||||
love.graphics.printf("LINES", 240, 320, 40, "left")
|
||||
if self.lines < 150 then love.graphics.printf("TIME LEFT", text_x, 250, 80, "left") end
|
||||
love.graphics.printf("LINES", text_x, 320, 40, "left")
|
||||
|
||||
local current_section = math.floor(self.lines / 10) + 1
|
||||
self:drawSectionTimesWithSplits(current_section)
|
||||
|
||||
love.graphics.setFont(font_3x5_3)
|
||||
love.graphics.printf(self.lines, 240, 340, 40, "right")
|
||||
love.graphics.printf(self.clear and self.lines or self:getSectionEndLines(), 240, 370, 40, "right")
|
||||
love.graphics.printf(self.lines, text_x, 340, 40, "right")
|
||||
love.graphics.printf(self.clear and self.lines or self:getSectionEndLines(), text_x, 370, 40, "right")
|
||||
|
||||
-- draw time left, flash red if necessary
|
||||
local time_left = self.section_time_limit - math.max(self:getSectionTime(), 0)
|
||||
if not self.game_over and not self.clear and time_left < frameTime(0,10) and time_left % 4 < 2 then
|
||||
love.graphics.setColor(1, 0.3, 0.3, 1)
|
||||
end
|
||||
if self.lines < 150 then love.graphics.printf(formatTime(time_left), 240, 270, 160, "left") end
|
||||
if self.lines < 150 then love.graphics.printf(formatTime(time_left), text_x, 270, 160, "left") end
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user