diff options
author | Aki <nthirtyone@gmail.com> | 2018-04-09 21:30:11 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2018-04-09 21:30:11 +0200 |
commit | fa4409cedb322bbd41722f22308f399979fc6676 (patch) | |
tree | a7cc4725b003c1932ad88f4fce8548d43605bf9b /main.lua | |
parent | 96f6ebdaf06650a35dcdb6a1fc3f472b3aab6d8a (diff) | |
parent | 290d75dceb905217cb67fcb32e95dbeb45e27e3c (diff) | |
download | roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.zip roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.gz roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.bz2 |
Love2D version 0.10.2 -> 11.0
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 |