Discuss Scratch

A13XBR013
Scratcher
52 posts

How to make game over

How do i make a game over screen come up when you lose all your lives (I already have a hp variable if this helps). Pretty much what i want is one of those classic game over screens to come up when you lose all 3 hearts how do i make the game over show when all hearts are gone?
https://scratch.mit.edu/projects/386915044/#comments-132948261
JplaysStuff
Scratcher
100+ posts

How to make game over

I think the simplest way to do it is to just make a sprite appear that says “GAME OVER” when you lose all your lives, then use
stopall
A13XBR013
Scratcher
52 posts

How to make game over

JplaysStuff wrote:

I think the simplest way to do it is to just make a sprite appear that says “GAME OVER” when you lose all your lives, then use
stopall
But thats the thing how would i do that
Ni_pro
Scratcher
23 posts

How to make game over

I think little gamma is perfect.
A13XBR013
Scratcher
52 posts

How to make game over

-LittleGamma- wrote:

Simple.

iflives=0thenbroadcastgameoverwhenIrecievegameoversayGAME OVER!for2secsstopall
Ive tried this maybe i typed the code wrong because it seems correct
deck26
Scratcher
1000+ posts

How to make game over

The link is to a remix with no sign of Game Over code - can you link to the project you want help on.
A13XBR013
Scratcher
52 posts

How to make game over

deck26 wrote:

The link is to a remix with no sign of Game Over code - can you link to the project you want help on.
I know i just want to know how to make the game over float to the middle of the screen when your lives are gone
JplaysStuff
Scratcher
100+ posts

How to make game over

OK, simplest way.

Make a sprite that says Game Over, then:

whenclickedhideforeveriflives<1thenshowstopall
EII3rnat3
Scratcher
11 posts

How to make game over

Yeah, I've waited for wayyy to long for this…

Powered by DjangoBB