Added better respawn reset
This commit is contained in:
@@ -71,6 +71,11 @@ function life() {
|
||||
time = 0;
|
||||
bounceX = bossPosX;
|
||||
bounceY = bossPosY;
|
||||
initialPlayerPosX = playerPosX;
|
||||
initialPlayerPosY = playerPosY;
|
||||
hasMoved = false;
|
||||
bullets = [];
|
||||
shot = false;
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user