summaryrefslogtreecommitdiffhomepage
path: root/not/Camera.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-11 19:58:15 +0200
committerAki <nthirtyone@gmail.com>2017-09-11 19:58:15 +0200
commit844a4a14e14ae427ba595f04b1a7d46372952669 (patch)
tree7a0817b25c21873af75eb172f50af4e280d9bf00 /not/Camera.lua
parentc2dbd963a243b237df48b409f855ef4099f710c9 (diff)
downloadroflnauts-844a4a14e14ae427ba595f04b1a7d46372952669.zip
roflnauts-844a4a14e14ae427ba595f04b1a7d46372952669.tar.gz
roflnauts-844a4a14e14ae427ba595f04b1a7d46372952669.tar.bz2
It seems I wasn't working in 16:10
Diffstat (limited to 'not/Camera.lua')
-rw-r--r--not/Camera.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/not/Camera.lua b/not/Camera.lua
index 4f57327..1fa01d3 100644
--- a/not/Camera.lua
+++ b/not/Camera.lua
@@ -32,7 +32,7 @@ function Camera:translate (ratio)
y = y * ratio
end
love.graphics.push()
- love.graphics.translate(160*getScale() - x - dx, 100*getScale() - y - dy)
+ love.graphics.translate(160*getScale() - x - dx, 90*getScale() - y - dy)
end
function Camera:pop ()
@@ -57,7 +57,7 @@ end
-- TODO: Magic numbers present in camera's boundaries.
function Camera:getBoundaries ()
local x, y = self:getPosition()
- return x - 160, y - 100, x + 160, y + 100
+ return x - 160, y - 90, x + 160, y + 90
end
function Camera:getBoundariesScaled ()