This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-11-18 12:33:07

Raakuth
Scratcher
Registered: 2009-11-18
Posts: 8

How Do I Make a Game Over Screen?!?!?!?!

Hi I'm new to Scratch and i am in the process of creating a game but i have got stuck at making the game end when my 'lives' variable reaches 0. Could anybody help me i'd be very greatful if you did

Thanks for Reading  smile


http://img710.imageshack.us/img710/5325/db652a36e109b70d6ab8698.pnghttp://img710.imageshack.us/img710/2360/207bd7b8d8d38d39ac99eb7.png

Offline

 

#2 2009-11-18 13:04:24

Mr_X
Scratcher
Registered: 2009-09-10
Posts: 1000+

Re: How Do I Make a Game Over Screen?!?!?!?!

<when green flag clicked>
<hide>
When the guy dies then make a new signal and broadcast it



<broadcast[ GAME OVER ]and wait c>
<when I receive[ GAME OVER
<show>

Last edited by Mr_X (2009-11-18 13:04:31)


http://img99.imageshack.us/img99/8656/exveemonc.gif The rules of the internet:
1) Every woman is a man    2) Every man is a child    3) Every child is an FBI agent                                        I have psychopathic tendencies. Be afraid

Offline

 

#3 2009-11-18 13:24:26

Raakuth
Scratcher
Registered: 2009-11-18
Posts: 8

Re: How Do I Make a Game Over Screen?!?!?!?!

Thank You Lots!!!!!!!  smile


http://img710.imageshack.us/img710/5325/db652a36e109b70d6ab8698.pnghttp://img710.imageshack.us/img710/2360/207bd7b8d8d38d39ac99eb7.png

Offline

 

#4 2009-11-27 14:34:10

Usmanproductions
Scratcher
Registered: 2009-11-26
Posts: 11

Re: How Do I Make a Game Over Screen?!?!?!?!

Mr_X wrote:

<when green flag clicked>
<hide>
When the guy dies then make a new signal and broadcast it



<broadcast[ GAME OVER ]and wait c>
<when I receive[ GAME OVER
<show>

What if you put a variable, lets say "lives" and when it goes less than 0, how would you put the game over?

Offline

 

Board footer