adjustmenet hook

This commit is contained in:
lustlion
2022-02-15 10:44:02 +01:00
parent 5f852a61e6
commit a21246e016
2 changed files with 33 additions and 27 deletions

View File

@@ -22,14 +22,20 @@ function HookAnchor:New(x,y,hookDistance)
end
function HookAnchor:HandleAnimation()
love.graphics.circle(
"line",
-Camera.pos.x + self.pos.x,
-Camera.pos.y + self.pos.y,
self.hookDistance
)
self.body:Animate()
self:Draw(self.body)
local particle_data = {
animation = animation.particle.simple,
sprite_tint = HEX2RGB("#fed100")
}
end
function HookAnchor:DoPhysics()
end
function Fairy:Debug()
Entity.Debug(self)
end