mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 08:39:03 -06:00
render a finish line
This commit is contained in:
parent
7c3cf0b1bd
commit
ba0aeec98d
@ -106,6 +106,10 @@ function Race40Game:drawGrid(ruleset)
|
||||
if self.piece ~= nil then
|
||||
self:drawGhostPiece(ruleset)
|
||||
end
|
||||
if self.lines >= self.line_goal - 20 and self.lines < self.line_goal then
|
||||
local line_height = (self.lines - self.line_goal + 20) * 16 + 80
|
||||
love.graphics.setColor(1, 0, 0, 1)
|
||||
love.graphics.line(64, line_height, 224, line_height)
|
||||
end
|
||||
|
||||
function Race40Game:getHighscoreData()
|
||||
|
Loading…
Reference in New Issue
Block a user