summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-05-12 19:02:46 +0200
committerAki <nthirtyone@gmail.com>2016-05-12 19:02:46 +0200
commitff42a92b1a622a9f7511bff28f1b52298af52ed5 (patch)
tree5914796d98150774b840d957ed6b84248dd7c67c /main.lua
parent8947c17408c129be8fec3523e2acb8615e85d39a (diff)
downloadroflnauts-ff42a92b1a622a9f7511bff28f1b52298af52ed5.zip
roflnauts-ff42a92b1a622a9f7511bff28f1b52298af52ed5.tar.gz
roflnauts-ff42a92b1a622a9f7511bff28f1b52298af52ed5.tar.bz2
Background
Added two additional tones because after a lot of testing background seemed really... not nice.
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index b534665..b847e3a 100644
--- a/main.lua
+++ b/main.lua
@@ -63,6 +63,13 @@ function love.keyreleased(key)
end
function love.draw()
+ -- Draw SOME background
+ -- I'm already bored with solid color!
+ love.graphics.setColor(193, 100, 99, 255)
+ love.graphics.rectangle("fill", 0, 0, love.graphics.getWidth(), 60)
+ love.graphics.setColor(179, 82, 80, 255)
+ love.graphics.rectangle("fill", 0, 160, love.graphics.getWidth(), 40)
+
-- Draw ground
for k,platform in pairs(Platforms) do
love.graphics.setColor(255,255,255,255)