Permalink
Browse files

tweaks to gameplay

  • Loading branch information...
1 parent b23924f commit 6d625ec2bfa0ddb8655b620c009ec4a079459e8d @willmcneilly committed Mar 2, 2014
Showing with 3 additions and 4 deletions.
  1. +3 −4 scripts/coffee/game.coffee
@@ -147,9 +147,9 @@ module.exports = class Game
enemy = @enemies.getFirstExists(false)
enemy.reset(@game.rnd.realInRange(enemy.width, @game.world.width - enemy.width), -enemy.width)
enemy.body.velocity.y =+ @enemyVelocity
- tween = @game.add.tween(enemy.scale)
- tween
- .to({ x: 0.3, y: 0.3 }, 500, Phaser.Easing.Bounce.IN, true, 90, true, true)
+ # tween = @game.add.tween(enemy.scale)
+ # tween
+ # .to({ x: 0.3, y: 0.3 }, 500, Phaser.Easing.Bounce.IN, true, 90, true, true)
playerHit: (player, enemy) ->
enemy.kill()
@@ -185,7 +185,6 @@ module.exports = class Game
powerUpHit: (laser, powerUp) ->
laser.kill()
powerUp.kill()
- @score =- 10
powerUpPlayer: (player, powerUp)->
powerUp.kill()

0 comments on commit 6d625ec

Please sign in to comment.