summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/draw/printFPS.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/draw/printFPS.lua')
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/draw/printFPS.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/draw/printFPS.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/draw/printFPS.lua
new file mode 100644
index 0000000..774deb4
--- /dev/null
+++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/draw/printFPS.lua
@@ -0,0 +1,3 @@
+draw.printFPS = function()
+ love.graphics.print('FPS: ' .. love.timer.getFPS(), 0, 0)
+end