diff options
Diffstat (limited to 'camera.lua')
-rw-r--r-- | camera.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,8 @@ end -- Move follow function Camera:moveFollow () local x,y,i = 105, 120, 1 - for k,point in pairs(Nauts) do + -- w.Nauts [!] temporary + for k,point in pairs(w.Nauts) do i = i + 1 x = math.max(math.min(point.body:getX(),290),0) + x y = math.max(math.min(point.body:getY(),180),20) + y |