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

#1 2010-08-09 18:44:55

IHeartGaming
Scratcher
Registered: 2010-07-23
Posts: 1000+

When game ends...

When game ends, STOP LETTING IT TAP (increases Variable by 1)

HELP!!!!!!!!!!!!!!!!


IHeartGaming

Offline

 

#2 2010-08-09 19:07:46

graham7sarah9
Scratcher
Registered: 2009-07-19
Posts: 28

Re: When game ends...

Stop letting it tap? Well, to end all scripts all you have to do is go in control and find this block:

<stop all>

Last edited by graham7sarah9 (2010-08-09 19:08:00)

Offline

 

#3 2010-08-09 19:36:37

m71134
Scratcher
Registered: 2010-03-03
Posts: 1000+

Re: When game ends...

Hmm...what do you mean by "letting it tap"?

Offline

 

#4 2010-08-09 20:10:40

vortex19
Scratcher
Registered: 2009-06-03
Posts: 100+

Re: When game ends...

If you mean like this:
<forever>
<change{ variable }by( 1
<end>

Then all you have to do is change to forever block to repeat until gameover=1 so it would look like this:
<repeat until><(  <{ gameover }><=> 1 )>
<change{ variable }by( 1
<end>

Offline

 

Board footer