From f28674114986a4b345c50b4815fbef11766b1b51 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 2 Aug 2016 12:12:16 +0200 Subject: Scale debug info --- main.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 445ed6f..2669ef8 100644 --- a/main.lua +++ b/main.lua @@ -129,6 +129,10 @@ end function love.draw() Scene:draw() if debug then - love.graphics.print("Current FPS: "..tostring(love.timer.getFPS()), 10, 10) + local scale = getScale() + love.graphics.setColor(255, 0, 0, 255) + love.graphics.print("Debug ON", 10, 10, 0, scale, scale) + love.graphics.setColor(255, 255, 255, 255) + love.graphics.print("Current FPS: "..tostring(love.timer.getFPS()), 10, 10+9*scale, 0, scale, scale) end end -- cgit v1.1