tracking down problem with insidebounds check

This commit is contained in:
2021-12-29 23:22:17 +01:00
parent 0aeb0139d3
commit e46316cff8
10 changed files with 731 additions and 267 deletions

View File

@@ -26,8 +26,8 @@ function Clock:render()
love.graphics.setColor(self.color[1], self.color[2], self.color[3],
self.color[4])
end
love.graphics.setFont(gFonts['medium'])
love.graphics.printf('Time: ' .. self.currentTime, 0, 5, VIRTUAL_WIDTH,
love.graphics.setFont(gFonts['small'])
love.graphics.printf('Time: ' .. self.currentTime, 0, LEVEL_RENDER_OFFSET_TOP/2, VIRTUAL_WIDTH - LEVEL_RENDER_OFFSET,
'right')
love.graphics.setFont(gFonts['small'])
love.graphics.setColor(1, 1, 1, 1)