summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--main.lua6
1 files changed, 5 insertions, 1 deletions
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