diff options
author | Aki <nthirtyone@gmail.com> | 2016-07-13 01:17:25 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-07-13 01:17:25 +0200 |
commit | 6055ca3eacf8b28b76132d4709d5da36814d6811 (patch) | |
tree | 7e6fe5504b7b60f2059e3a91305842c4ee480963 | |
parent | 46848d5bcf285e424eed510ac61dfff90b1146ac (diff) | |
download | roflnauts-6055ca3eacf8b28b76132d4709d5da36814d6811.zip roflnauts-6055ca3eacf8b28b76132d4709d5da36814d6811.tar.gz roflnauts-6055ca3eacf8b28b76132d4709d5da36814d6811.tar.bz2 |
Improved vertical punching
-rw-r--r-- | player.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |