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

#1 2011-11-12 19:52:56

jwill22
New Scratcher
Registered: 2011-11-10
Posts: 4

Program ends funny

I'm trying to figure out why the program will not stop running after either sprite touches the finish line. Instead the cat keeps going and another math problem will appear. I want it to end when either sprite touches the finish line. Cans somebody help? Thanks

http://dl.dropbox.com/u/12896730/Team%202%20Project%20improvements.sb

Offline

 

#2 2011-11-12 19:56:15

schusteralex2
Scratcher
Registered: 2011-09-17
Posts: 1000+

Re: Program ends funny

have it broadcast Win when either cross the finish line and have a script that does something along the lines of
When i recieve Win
change to costume Win
end all<stop all>


http://i44.tinypic.com/2uj37ds.gif

Offline

 

#3 2011-11-12 20:05:24

anuw
Scratcher
Registered: 2009-04-09
Posts: 50

Re: Program ends funny

Thats very complicated script for backgreound  hmm  My suggestion is that:

when /= clicked
forever
if
touching sprite finish line
broadcast finish

I havent actually played the game (Didnt quite understand what to do) but that is the script you'll need. There is no maths invulved.  wink


http://lolwut.com/layout/lolwut.jpg Lolwut?

Offline

 

Board footer