summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 35e9147..4302cb9 100644
--- a/main.lua
+++ b/main.lua
@@ -6,6 +6,7 @@ require "ground"
require "player"
require "camera"
require "cloud"
+require "effect"
-- Temporary debug
debug = false
@@ -24,7 +25,6 @@ function love.load ()
w:createPlatform(290/2, 180/2-50, {-17,1, 17,1, 17,17, -17,17}, "assets/platform_top.png")
w:createNaut(290/2-10, 180/2 - 80, "assets/leon.png")
w:createNaut(290/2+10, 180/2 - 80, "assets/lonestar.png")
-
-- Temporary settings for second player
w.Nauts[2].name = "Player2"
@@ -58,4 +58,7 @@ end
-- Draw
function love.draw ()
w:draw()
+ if debug then
+ love.graphics.print("Current FPS: "..tostring(love.timer.getFPS( )), 10, 10)
+ end
end \ No newline at end of file