diff --git a/player.lua b/player.lua index 12f9762..f88ec4d 100644 --- a/player.lua +++ b/player.lua @@ -15,7 +15,7 @@ function Player:new(p, x, y, health, image, speed) -- Collision Stuff --self.collider = World:newRectangleCollider(x, y, 50, 62) - self.collider = World:newCircleCollider(x, y, 24) + self.collider = World:newCircleCollider(x, y, 24 * X_SCALE) self.collider:setFixedRotation(true) if self.p == 1 then @@ -27,6 +27,8 @@ function Player:new(p, x, y, health, image, speed) -- Rotation Stuff self.rotation = math.rad(90) self.rotSpeed = 2 + --self.scaleX = 1 * _G.X_SCALE + --self.scaleY = 1 * _G.Y_SCALE self.scaleX = 1 self.scaleY = 1 self.originX = self.width / 2