diff options
Diffstat (limited to 'player.lua')
-rw-r--r-- | player.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -135,6 +135,7 @@ function Player:keypressed (key) -- Jumping if key == self.key_jump then if not self.inAir then + w:createEffectBottom("jump", self.body:getX()-12, self.body:getY()-15) self.jumpactive = true if (self.current == self.animations.attack) or (self.current == self.animations.attack_up) or @@ -142,6 +143,7 @@ function Player:keypressed (key) self:changeAnimation("idle") end elseif self.jumpdouble then + w:createEffectBottom("doublejump", self.body:getX()-12, self.body:getY()-15) self.jumpactive = true self.jumpdouble = false end |