Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Game over in game
- ohdamygoshguys
-
13 posts
Game over in game
So in my game, you fight through waves of enemies. I need to make a game over screen when you run out of lives. But after that, I need to make something that causes the waves to stop cloning the enemies. What can I do?
- Koamodo975
-
1000+ posts
Game over in game
So in my game, you fight through waves of enemies. I need to make a game over screen when you run out of lives. But after that, I need to make something that causes the waves to stop cloning the enemies. What can I do?
really simple tbh
- ohdamygoshguys
-
13 posts
Game over in game
Sorry, I should have been more specific. I need a way to have the game be able to be played again after a game over, without clicking the flag again.
- Koamodo975
-
1000+ posts
Game over in game
oh ok. You could use the thing I said, and add the first two scripts to a ‘play again’ button. Then when the button's pressed, reset the variables, and use a broadcast and ‘when I receive’ blocks for the spawners. Sorry, I should have been more specific. I need a way to have the game be able to be played again after a game over, without clicking the flag again.
- Discussion Forums
- » Help with Scripts
-
» Game over in game