diff options
author | Aki <nthirtyone@gmail.com> | 2018-04-08 15:20:58 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2018-04-08 15:20:58 +0200 |
commit | ea62ce8ec8ae07ff6d421b4146d2503ef0f67574 (patch) | |
tree | b0adc2b1735d103e55aed7bdd0c462b2ea5e359f /main.lua | |
parent | 08271656cbe18fbc4432fc758ac42750e818da84 (diff) | |
parent | 290d75dceb905217cb67fcb32e95dbeb45e27e3c (diff) | |
download | roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.zip roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.tar.gz roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.tar.bz2 |
Merge branch 'love-11.0' into control
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -27,7 +27,7 @@ debug = false -- LÖVE2D callbacks function love.load () - love.graphics.setBackgroundColor(90, 90, 90) + love.graphics.setBackgroundColor(.35, .35, .35) love.graphics.setDefaultFilter("nearest", "nearest") -- TODO: Move fonts somewhere else out of global scope. Font = love.graphics.newImageFont("assets/font-normal.png", " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.,:;-_/\\!@#$%^&*?=+~`|'\"()[]{}<>", -1) @@ -44,10 +44,10 @@ function love.draw () if debug then local scale = getScale() love.graphics.setFont(Font) - love.graphics.setColor(255, 0, 0, 255) + love.graphics.setColor(1, 0, 0, 1) love.graphics.print("Debug ON", 10, 10, 0, scale, scale) if dbg_msg then - love.graphics.setColor(255, 255, 255, 255) + love.graphics.setColor(1, 1, 1, 1) love.graphics.print(dbg_msg, 10, 10+9*scale, 0, scale, scale) end end |