From af9aef995eae083035de9e1089ccc20e99f7ef55 Mon Sep 17 00:00:00 2001 From: Logen Kain Date: Tue, 25 Jul 2017 18:45:06 -0700 Subject: [PATCH] mike: Added a couple comments and an FPS counter --- love/mike/main.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/love/mike/main.lua b/love/mike/main.lua index 3fda449..4295405 100644 --- a/love/mike/main.lua +++ b/love/mike/main.lua @@ -25,6 +25,10 @@ function love.update(dt) end function love.draw() + --Draw paddle love.graphics.rectangle("line", player.x, player.y, player.width, player.height) + --Draw ball love.graphics.rectangle("line", ball.x, ball.y, ball.width, ball.height) + --FPS counter + love.graphics.print("FPS: "..tostring(love.timer.getFPS( )), 10, 10) end