summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-05-21 20:35:47 +0200
committerAki <nthirtyone@gmail.com>2016-05-21 20:35:47 +0200
commit482797c1feab2b238822202593c1964c648d4198 (patch)
tree0fbbeb1301ad8422090858ffc49abea7142c2f07 /main.lua
parent4b63616195fd1910b7aa5d46b6489c9bdd054fa1 (diff)
downloadroflnauts-482797c1feab2b238822202593c1964c648d4198.zip
roflnauts-482797c1feab2b238822202593c1964c648d4198.tar.gz
roflnauts-482797c1feab2b238822202593c1964c648d4198.tar.bz2
HUD combo/lives
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 5febe09..8d9a9df 100644
--- a/main.lua
+++ b/main.lua
@@ -10,7 +10,7 @@ require "effect"
-- Temporary debug
debug = false
-third = false
+third = true
fourth = false
-- Load
@@ -19,6 +19,11 @@ function love.load ()
love.graphics.setBackgroundColor(189, 95, 93)
love.graphics.setDefaultFilter("nearest", "nearest")
+ -- Font
+ Font = love.graphics.newImageFont("assets/font2.png", " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-,!:()[]{}<>", -1)
+ Font:setLineHeight(1)
+ love.graphics.setFont(Font)
+
-- ZU WARUDO!
w = World:new()
w:createPlatform(290/2, 180/2, {-91,1, 90,1, 90,10, 5,76, -5,76, -91,10}, "assets/platform_big.png")