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

#1 2011-04-20 09:28:13

Qaze
Scratcher
Registered: 2010-10-02
Posts: 56

Some Questions...

I was wondering what the difference of "broadcast ... and wait" and just" broadcast..."?
Also, is there any way to delete a broadcast like deleting a variable?


http://i.imgur.com/2i8VY.gif

Offline

 

#2 2011-04-20 09:36:05

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Some Questions...

To delete a broadcast, just remove all the "broadcast ...", "broadcast ... and wait" and "when I receive ..." blocks that have the broadcast you want to delete showing. You could also just put a different broadcast in the block  smile

The "broadcast ... and wait" block sends the broadcast, then waits until the all the scripts with that broadcast starting them have finished, before continuing the script. The "broadcast ..." block sends the broadcast, and the script continues. Hope this helps  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#3 2011-04-20 12:59:16

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Some Questions...

Just as Wolfie said: "broadcast ... and wait" is a good block for syncing the project ( keep everything moving at the same rate ).

Offline

 

#4 2011-04-20 16:26:41

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Some Questions...

To build on what Magnie said, the "broadcast ..." block is good for sounds.  If you used the other block, the script would have to wait until the sound finished executing the script under it.


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

Board footer