From e9fedad00cfe6c594539eeb7a020c685cdfce3f5 Mon Sep 17 00:00:00 2001 From: Ivan Trojnar Date: Wed, 26 Apr 2023 20:00:50 +0200 Subject: [PATCH] Immortal commit --- game.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/game.js b/game.js index 4f0a717..97f9cf6 100644 --- a/game.js +++ b/game.js @@ -436,13 +436,13 @@ Ship = function () { }; this.collision = function (other) { - SFX.explosion(); - Game.explosionAt(other.x, other.y); - Game.FSM.state = 'player_died'; - this.visible = false; - this.currentNode.leave(this); - this.currentNode = null; - Game.lives--; + //SFX.explosion(); + //Game.explosionAt(other.x, other.y); + //Game.FSM.state = 'player_died'; + //this.visible = false; + //this.currentNode.leave(this); + //this.currentNode = null; + //Game.lives--; }; };