diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-14 01:20:03 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-14 01:20:03 +0200 |
commit | 39a0d239e986919c95b49a722c1b515b301c567d (patch) | |
tree | dd4a783f8678f1d203615c3a89e70b5f5a1db5d0 /main.lua | |
parent | 431bcc0828fcbb296b5e97901d6583a074967a8f (diff) | |
download | roflnauts-39a0d239e986919c95b49a722c1b515b301c567d.zip roflnauts-39a0d239e986919c95b49a722c1b515b301c567d.tar.gz roflnauts-39a0d239e986919c95b49a722c1b515b301c567d.tar.bz2 |
Preparations for clouds, going to sleep.
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -82,8 +82,10 @@ function love.draw () love.graphics.setColor(179, 82, 80, 255) love.graphics.rectangle("fill", 0, love.graphics.getHeight()*0.8, love.graphics.getWidth(), love.graphics.getHeight()*0.2) + -- Get camera (like this, for now ;_; pass camera object to draw function?) local offset_x, offset_y = camera:getOffsets() local scale = camera.scale + -- Draw ground for k,platform in pairs(Platforms) do platform:draw(offset_x, offset_y, scale, debug) |