Hey Everyone,
I have a question. I tried to add a lives system to my game where you have 2 lives and after you die you can re-spawn. and when you reach 0 lives you have to re-start. The problem that i am having is when i hit re-spawn, i can’t seem to figure out an efficient way of re-spawning enemies in the same position as they were when i died. and the same with the player. do you have any ideas on how to do this.
One theory i thought of was i could have the enemies & update method pause when i die and just have the re-spawn menu overlay the screen and when i hit respawn i plays the game again, what do you think. ?
Please help thanks