From eb8c23fb8fff5c8faefa84e6f166bc0f3234a1ec Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 24 May 2016 18:45:49 +0200 Subject: Quick push --- camera.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camera.lua') diff --git a/camera.lua b/camera.lua index b33313c..535e0ac 100644 --- a/camera.lua +++ b/camera.lua @@ -80,7 +80,7 @@ function Camera:translatePoints(...) end return r end - + -- Shake it -- Really bad script, but for now it works function Camera:shake () @@ -121,7 +121,7 @@ function Camera:follow () end end x = x / i - love.graphics.getWidth()/self.scale/2 - y = y / i - love.graphics.getHeight()/self.scale/2 + 10*self.scale -- hotfix + y = y / i - love.graphics.getHeight()/self.scale/2 + 4*self.scale -- hotfix return x,y end -- cgit v1.1