diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-24 18:45:49 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-24 18:45:49 +0200 |
commit | eb8c23fb8fff5c8faefa84e6f166bc0f3234a1ec (patch) | |
tree | 1b81fc55790dbf29578a10c3d799e010de0f2c6d /camera.lua | |
parent | f600564657dc5a8a4f36043c46e7a34651d0c4a5 (diff) | |
download | roflnauts-eb8c23fb8fff5c8faefa84e6f166bc0f3234a1ec.zip roflnauts-eb8c23fb8fff5c8faefa84e6f166bc0f3234a1ec.tar.gz roflnauts-eb8c23fb8fff5c8faefa84e6f166bc0f3234a1ec.tar.bz2 |
Quick push
Diffstat (limited to 'camera.lua')
-rw-r--r-- | camera.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |