main #12

Merged
kistaro merged 20 commits from pyrex/chameleonic:main into main 2022-12-23 06:38:45 +00:00
Showing only changes of commit a27cc2e6ef - Show all commits

View File

@ -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