bg
This commit is contained in:
@@ -49,7 +49,8 @@ function Player:init(x, y)
|
||||
self.touchingCeiling = false
|
||||
self.touchingWall = false
|
||||
Player.dead = false
|
||||
Player.bat = 10000
|
||||
Player.fullBat = 10000
|
||||
Player.bat = Player.fullBat
|
||||
Player.dischargeRate = 1
|
||||
Player.moveRight = false
|
||||
self.lastDirection = nil
|
||||
@@ -172,7 +173,7 @@ function Player:handleMovementAndCollisions()
|
||||
self:boom()
|
||||
return
|
||||
elseif collisionTag == 154 then -- Baleba
|
||||
self:boom(collisionObject)
|
||||
--self:boom(collisionObject)
|
||||
return
|
||||
elseif collisionTag == 2 then -- Tank
|
||||
self:boom()
|
||||
|
Reference in New Issue
Block a user