diff --git a/web/game.js b/web/game.js index 403afa2..b2efbdc 100644 --- a/web/game.js +++ b/web/game.js @@ -46,8 +46,6 @@ function life() { textAlign(CENTER); text(lives, 500, 20); if (hit == true) { - playerPosX = 500; - playerPosY = 300; hit = false; lives -= 1; } @@ -139,7 +137,6 @@ function draw() { life(); // draw background background(0, 0, 0, 100); - if (!(lives == 0)) { // draw player fill(0, 255, 255)