Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Game Over
- Unicorn00
-
2 posts
Game Over
I figured out how to get lives but I can't seem to figure out how to make the game end when the lives reach zero. HELP???
- JEMA2311
-
65 posts
Game Over
Easy…
Draw a sprite with the sentence GameOver (as big as you want) and with this script
when GreenFlag clicked
-forever
–set ghost effect 100
–go front (don't remember the real name)
then, when the lives reach zero, use “stop all” block…
By doing this, when everything stops, the GameOver screen will show up…
Try and tell us the result…
Draw a sprite with the sentence GameOver (as big as you want) and with this script
when GreenFlag clicked
-forever
–set ghost effect 100
–go front (don't remember the real name)
then, when the lives reach zero, use “stop all” block…
By doing this, when everything stops, the GameOver screen will show up…
Try and tell us the result…
- dracae
-
1000+ posts
Game Over
Here, I haz it! 

(Does it work? Testing)
(EDIT: AWWW YESSS! It works! Yay!
)
(EDIT: Oh yeah, put this script in your GameOver Sprite)
(EDIT: Hope it helps!
)


(Does it work? Testing)
(EDIT: AWWW YESSS! It works! Yay!

(EDIT: Oh yeah, put this script in your GameOver Sprite)
(EDIT: Hope it helps!

Last edited by dracae (May 14, 2013 01:43:32)
- spiritlove5
-
3 posts
Game Over
can somebody tell me how to make the game over screen when my sprite touces the edge???
- MiniFluffyBug
-
500+ posts
Game Over
can somebody tell me how to make the game over screen when my sprite touces the edge???
forever
if <touching [edge v]?> then
broadcast [end game v]
end
end
- giacomo78
-
51 posts
Game Over
when green flag clickedHope this helped
forever
if <(lives) = [0]> then
broadcast [game over v] and wait
stop [all v]
end
end
- spiritlove5
-
3 posts
Game Over
it didn't help…..the scratch game over covers me game i don't know what to do???
- spiritlove5
-
3 posts
Game Over
the sprite “game over” covers my game and I don't know what to do???
- juicykiwi
-
86 posts
Game Over
the sprite “game over” covers my game and I don't know what to do???
Make it smaller
- Tramcrazy
-
100+ posts
Game Over
Use game over as a backdrop and use something like this:
forever
if <(Lives) = [0]> then
hide
switch backdrop to [Game over v]
end
end
- BF10
-
500+ posts
Game Over
i coded correctly its not working
https://scratch.mit.edu/projects/72262526/
Please don't necrobump.
- zhouzhide993
-
1 post
Game Over
How do I make game over for my ping pong game? I need help



- Milk2365
-
34 posts
Game Over
You can draw a line under the paddle on the background
when green flag clicked
forever
if <touching color [#ff0088] ?> then The color of the line
broadcast [Game Over]
end
end
when I receive [Game Over]
show show the sprite that says game over
stop [ all]
play my game https://scratch.mit.edu/projects/84596292/
- HardClaw57
-
500+ posts
Game Over
How do I make game over for my ping pong game? I need help
You can draw a line under the paddle on the backgroundwhen green flag clickedplay my game https://scratch.mit.edu/projects/84596292/
forever
if <touching color [#ff0088] ?> then The color of the line
broadcast [Game Over]
end
end
when I receive [Game Over]
show show the sprite that says game over
stop [ all]
Please check the dates before posting. Reporting for closure… i coded correctly its not working
https://scratch.mit.edu/projects/72262526/
Last edited by HardClaw57 (Nov. 3, 2015 01:33:36)
- Abdurrahim10
-
6 posts
Game Over
Can Anyone Help Me Show A game Over Message ON the Screen!?





Last edited by Abdurrahim10 (Dec. 3, 2015 10:55:16)
- deck26
-
1000+ posts
Game Over
Read a thread before you post and you'll see that Can Anyone Help Me Show A game Over Message ON the Screen!?
a - this is old
b - it has been reported for closure so even if someone wanted to answer you they may not be able to
Create your own topic rather then necroposting please.
- Abdurrahim10
-
6 posts
Game Over
Can Anyone Help Me Show A game Over Message ON the Screen!?:
- Discussion Forums
- » Help with Scripts
-
» Game Over