diff --git a/chameleonic.p8 b/chameleonic.p8 index 1396654..cc1bc96 100644 --- a/chameleonic.p8 +++ b/chameleonic.p8 @@ -760,7 +760,7 @@ function player:update() self.rope=rope:new( x+0.5-dx*0.5,y+0.5-dy*0.5, - self.x+0.5,self.y+0.1, + self.x+0.5,self.y+0.5, level:get_latch(dx,dy,x*8,y*8) ) @@ -781,7 +781,7 @@ function player:update() if self.rope then self.rope:update() - self.rope:drag_dst(self.x+self.px/8+0.5,self.y+self.py/8+0.1) + self.rope:drag_dst(self.x+self.px/8+0.5,self.y+self.py/8+0.5) local tdx,tdy=self.rope:tug_orientxy() if (tdx!=0) self.orientx=tdx