diff --git a/web/game.js b/web/game.js index 9f49b27..ba75399 100644 --- a/web/game.js +++ b/web/game.js @@ -71,6 +71,11 @@ function life() { time = 0; bounceX = bossPosX; bounceY = bossPosY; + initialPlayerPosX = playerPosX; + initialPlayerPosY = playerPosY; + hasMoved = false; + bullets = []; + shot = false; }