diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-17 00:55:02 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-17 00:55:02 +0200 |
commit | eb8b36111c308deed093c1eda6794cb52fcbe227 (patch) | |
tree | b7553058849748f9e0a4784f4f24ede6c455f5b8 /main.lua | |
parent | 7f4ed3b00397beb9a7471570515cf9e3c0ce5027 (diff) | |
download | roflnauts-eb8b36111c308deed093c1eda6794cb52fcbe227.zip roflnauts-eb8b36111c308deed093c1eda6794cb52fcbe227.tar.gz roflnauts-eb8b36111c308deed093c1eda6794cb52fcbe227.tar.bz2 |
Effects added
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |