Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I get game over on my game?
- gaoj5892
-
Scratcher
3 posts
How do I get game over on my game?
when green flag clicked
hide
forever
if <(lives) = [0 ]> then
say [Game Over] for (2) secs
end
end
Or
when green flag clickedIf You Have A Game Over Sprite>
forever
if <(lives) = [0 ]> then
show
end
end
- gaoj5892
-
Scratcher
3 posts
How do I get game over on my game?
Oops I Meant:
Or
when green flag clicked
forever
if <(lives) = [0 ]> then
say [Game Over] for (2) secs
end
end
Or
when green flag clickedIf You Have A Game Over Sprite.
Hide
forever
if <(lives) = [0 ]> then
show
end
end
- bumpjammy
-
Scratcher
100+ posts
How do I get game over on my game?
NEED HELP! I am making this game in which you have to pop the ballons in a certain amount of time. I am not quite sure how to end the game if the player doesnt pop all the ballons. Please help!!you have to use lives
- superpokemaster2005
-
Scratcher
10 posts
How do I get game over on my game?
I did everything you guys suggested, but it still doesn't work! This was my script:
when green flag clicked
if <() < [0]> then
say [gameover] for (2) secs
end
- Nether_before
-
Scratcher
1000+ posts
How do I get game over on my game?
How do I get game over on my game, when all the darts are used but not all the sprites are gone?Make a variable for the amount of darts, each time a dart is used, change the variable by -1 then…
when green flag clickedThen use the broadcast to make whatever you want for your game over to happen.
forever
if <(Darts) = [0]> then
broadcast [end]
end
end
- Scratchforever3232
-
Scratcher
2 posts
How do I get game over on my game?
How do you get the game over sprite to only come up at the end?
- ______venomous
-
Scratcher
24 posts
How do I get game over on my game?
This:
when green flag clicked
forever
if <[variable] < [ 0]> then
stop [all v]
end
end
- scrooge200
-
Scratcher
1000+ posts
How do I get game over on my game?
How do i repeat my game again and again without clicking the green flag? URGENT!!Try making a “Game Over” or “Restart” button that does this:
set [Score/Lives/Etc. v] to [Whatever you want]
go to x: (If you're making a platformer game) y: (0)
...
Last edited by scrooge200 (Aug. 28, 2015 17:28:32)
- destinee64
-
New Scratcher
3 posts
How do I get game over on my game?
How do I gat my game to end if the soccer ball hits the net?
- destinee64
-
New Scratcher
3 posts
How do I get game over on my game?
I need Help Its URGENT very Urgent i need to turn it in to my teacher on the 1stwhen green flag clicked
hide
forever
if <(lives) = [0 ]> then
say [Game Over] for (2) secs
end
end
Orwhen green flag clickedIf You Have A Game Over Sprite>
forever
if <(lives) = [0 ]> then
show
end
end
- king1357901
-
New Scratcher
4 posts
How do I get game over on my game?
guys i need help because in my game i have zombies but what happened is that i made a game over and I made all the variables disappear when game over shows but i have a problem and it's that how do i get the characters to DISAPPEAR when game over happens?PLEASE HELP MEEEE

- king1357901
-
New Scratcher
4 posts
How do I get game over on my game?
HELP HELP THIS GAME IS ACTUALLY REALLY COOL BUT I DIDNT FINSIH IT YET AND HERES THE LINK TO THE GAME THAT I MADE ALSO DONT WEAR HEADPHONES WITH FULL VOLUME it will hurt your ears but i have a problem which is how to make all characters disappear when i do game over and also i just been THINKING and it's that i don't know if i should do something like when zombies attack me the screen turn a little red and goes back but if i did do that would'nt i have to do something like change the backround to a different picture with red. If you guys read this here is now my link to my game!
Last edited by king1357901 (May 23, 2015 01:40:09)
- izabeladarshantwin
-
Scratcher
19 posts
How do I get game over on my game?
you can do tis to
or

when green flag clicked
if <<<[] = [ ]> or < >> < [ ]> then
show
end
or
switch backdrop to [ v]
switch costume to [ v]
- izabeladarshantwin
-
Scratcher
19 posts
How do I get game over on my game?
iment

when green flag clicked
if <<[life] = [0 ]> or <<[life] < [0 ]> >> then
show or switch backdrop to[v] switch costume to [ v]
end
- izabeladarshantwin
-
Scratcher
19 posts
How do I get game over on my game?
when green flag clicked
forever
if <<[] = [ ]> or <<[] < [ ]> >> then
show or switch backdrop to [ v] or switch costume to [ v]
end
end
- izabeladarshantwin
-
Scratcher
19 posts
How do I get game over on my game?
hello im a new scratcher here!
fight on scratch
fight on scratch
- Discussion Forums
- » Help with Scripts
-
» How do I get game over on my game?











