mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-12-24 11:49:02 -06:00
Changed the width to accommodate 4-digit level numbers.
This commit is contained in:
parent
443901ec89
commit
a820798e13
@ -123,7 +123,7 @@ function IntervalTrainingGame:drawScoringInfo()
|
||||
self:drawSectionTimesWithSplits(current_section)
|
||||
|
||||
love.graphics.setFont(font_3x5_3)
|
||||
love.graphics.printf(self.level, 240, 340, 40, "right")
|
||||
love.graphics.printf(self.level, 240, 340, 50, "right")
|
||||
|
||||
-- draw time left, flash red if necessary
|
||||
local time_left = self.section_time_limit - math.max(self:getSectionTime(), 0)
|
||||
@ -133,7 +133,7 @@ function IntervalTrainingGame:drawScoringInfo()
|
||||
love.graphics.printf(formatTime(time_left), 240, 270, 160, "left")
|
||||
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
love.graphics.printf(self:getSectionEndLevel(), 240, 370, 40, "right")
|
||||
love.graphics.printf(self:getSectionEndLevel(), 240, 370, 50, "right")
|
||||
end
|
||||
|
||||
function IntervalTrainingGame:getSectionEndLevel()
|
||||
|
Loading…
Reference in New Issue
Block a user