Added debug info
This commit is contained in:
parent
49e17a199e
commit
e20b62018a
2
game.lua
2
game.lua
@ -14,6 +14,7 @@ function Game:reinit()
|
||||
self.rect = require "lib/rect"
|
||||
self.maxobjects = 0
|
||||
self.camerax = 0
|
||||
self.debug = true
|
||||
self.cameray = 0
|
||||
self.floatcamerax = 0
|
||||
self.floatcameray = 0
|
||||
@ -217,6 +218,7 @@ function Game:draw(screen)
|
||||
end
|
||||
end
|
||||
end
|
||||
if self.debug then lg.print("OSTYPE: "..self.OSTYPE.."; ".."OS: "..self.OS.."; ".."FPS: "..tostring(love.timer.getFPS( )), 10, 10) end
|
||||
end
|
||||
|
||||
function Game:MouseCallback(x,y,presses)
|
||||
|
Loading…
Reference in New Issue
Block a user