I have created a special function that as soon as the player has three hits or "deaths" it switches to the game over map. This works just fine the problem is after you get out of the game over map and go start a new game all of the tile interactions are still active. In other words all of the point items and all of the deaths the player had are still in the inventory. So the player ends up with only one life after they restart the game. I can't seem to figure out how to stop this. It would really be appreciated if someone could help me!!!
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What you could do is just as the game starts, activate a "Save the Game" function. Then, on the Game Over map, load the game you saved when you want to start over.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have created a special function that as soon as the player has three hits or "deaths" it switches to the game over map. This works just fine the problem is after you get out of the game over map and go start a new game all of the tile interactions are still active. In other words all of the point items and all of the deaths the player had are still in the inventory. So the player ends up with only one life after they restart the game. I can't seem to figure out how to stop this. It would really be appreciated if someone could help me!!!
thanks
What you could do is just as the game starts, activate a "Save the Game" function. Then, on the Game Over map, load the game you saved when you want to start over.
Sounds good i'll try it!!