diff options
author | Aki <nthirtyone@gmail.com> | 2016-07-30 17:21:45 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-07-30 17:21:45 +0200 |
commit | 3423e4303fc61c1b9131b8709a6b95851e9459f1 (patch) | |
tree | 3162f53775c9bf52e9df97955391ad995d42927f /main.lua | |
parent | 1657ac4ddb5e223dd492d13d13fb114c232b7271 (diff) | |
download | roflnauts-3423e4303fc61c1b9131b8709a6b95851e9459f1.zip roflnauts-3423e4303fc61c1b9131b8709a6b95851e9459f1.tar.gz roflnauts-3423e4303fc61c1b9131b8709a6b95851e9459f1.tar.bz2 |
New font, 04font
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -46,9 +46,10 @@ function love.load() love.graphics.setDefaultFilter("nearest", "nearest") -- Font - Font = love.graphics.newImageFont("assets/font2.png", " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-,!:()[]{}<>", -1) + -- 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-,!:()[]{}<> + Font = love.graphics.newImageFont("assets/font4.png", " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.,:;-_/\\!@#$%^&*?=+~`|'\"()[]{}<>", -1) Bold = love.graphics.newImageFont("assets/font3.png", " 0123456789AEFILNORSTUW", -2) - Font:setLineHeight(1) + Font:setLineHeight(9/16) love.graphics.setFont(Font) -- Menu bijaczes @@ -98,14 +99,14 @@ function love.keypressed(key) controller:keypressed(key) end -- Misc global input - if key == "x" then + if key == "f5" then debug = not debug end if key == "escape" or key == "f1" then love.event.quit() end - if key == "f5" and debug then - local new = World:new("default", {"leon", Controllers[1]}, {"lonestar", Controllers[2]}) + if key == "f6" and debug then + local new = World:new("default", {"link", Controllers[1]}, {"weed", Controllers[2]}) Scene:delete() changeScene(new) end |