Rebase on Radiance #71

Merged
kazhnuz merged 20 commits from wip/radiance-rebase into master 2022-08-12 10:37:35 +02:00
Showing only changes of commit 3cb6c61cac - Show all commits

View file

@ -40,7 +40,7 @@ function Player:updateStart(dt)
end end
if (self.isPunching) then if (self.isPunching) then
self:checkHitboxesCollisions() self:applyHitboxesCollisions()
end end
if self.keys["start"].isPressed then if self.keys["start"].isPressed then
@ -87,7 +87,7 @@ function Player:setDirection(direction)
if direction ~= 0 then if direction ~= 0 then
direction = utils.math.sign(direction) direction = utils.math.sign(direction)
self.direction = direction self.direction = direction
self.sprite:setScalling(direction, nil) self.sprite:setScallingX(direction)
end end
end end