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

#1 2008-06-19 19:14:59

fillygal
Scratcher
Registered: 2008-04-28
Posts: 2

I dont get who do use

How do Broadcast actualy work?    <broadcast[  ]and wait c> ????<broadcast[

Offline

 

#2 2008-06-19 19:19:52

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: I dont get who do use

Broadcasts indicate that something has happened, similiar to what variables do. You can have one sprite broadcast something when a player dies and another sprite receiving the broadcast and then doing it's action.

Offline

 

#3 2008-06-20 14:54:26

B-Reyn428
Scratcher
Registered: 2007-09-08
Posts: 55

Re: I dont get who do use

For Example:

Sprite A

When Green flag clicked
Forever
  If touching color 'blue'
   broadcast [touching blue]


Sprite B

When I receive [touching blue]
Go to x [0], y [0]
Switch to costume [costume 2]


http://img233.imageshack.us/img233/7682/mybannerblinkyd0675d390.gif
http://scratch.mit.edu/projects/B-Reyn428/673836

Offline

 

Board footer