From 844a4a14e14ae427ba595f04b1a7d46372952669 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 11 Sep 2017 19:58:15 +0200 Subject: It seems I wasn't working in 16:10 --- not/Camera.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'not') 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 () -- cgit v1.1