From 6055ca3eacf8b28b76132d4709d5da36814d6811 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 13 Jul 2016 01:17:25 +0200 Subject: Improved vertical punching --- player.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player.lua b/player.lua index a0599a3..2a5d270 100644 --- a/player.lua +++ b/player.lua @@ -239,13 +239,13 @@ function Player:controllerPressed (key) if self.current ~= self.animations.damage then self:changeAnimation("attack_up") end - self:hit(2*f,-10,3*f,7, 0, -1) + self:hit(-f,-18,4*f,10, 0, -1) elseif controller:isDown("down") then -- Punch down if self.current ~= self.animations.damage then self:changeAnimation("attack_down") end - self:hit(-4,-2,4,7, 0, 1) + self:hit(-4,-2,4,9, 0, 1) else -- Punch horizontal if self.current ~= self.animations.damage then -- cgit v1.1