Discuss Scratch

0chatrathi0
New Scratcher
1 post

New to Scratch! What does broadcasting do?

I'm new to scratch, and i know this might sound silly to someone but what do the broadcasting blocks do? How can i use them?
Thepuzzlegame
Scratcher
1000+ posts

New to Scratch! What does broadcasting do?

This wiki article explains it well
Korewa
Scratcher
17 posts

New to Scratch! What does broadcasting do?

0chatrathi0 wrote:

I'm new to scratch, and i know this might sound silly to someone but what do the broadcasting blocks do? How can i use them?
Welcome! Broadcast blocks send a “message” to other sprites, which When I Recieve blocks, do something when they get that message For example you can put this on Sprite1

when this sprite clicked
say [Hello!] for (2) secs
broadcast [hi v]

and this on Sprite2 (you need to create this sprite)
when I receive [hi v]
say [What's up?] for (2) secs

so when you click on sprite1 it will say hello, then send a message to sprite2 to say What's up! Hope this helps!
KingOfAwesome58219
Scratcher
1000+ posts

New to Scratch! What does broadcasting do?

The broadcast block is a way to communicate between two or more sprites. The Broadcast blocks will, as it says, broadcast a message, and any sprite or backdrop that contains a
when I receive [The Message That You Broadcasted v]
Will play whatever is stacked underneath the the
when I receive [ v]
is started.
The broadcast and wait block
broadcast [ v] and wait :: events
Simply waits until all of the When I Receive blocks are finished running before continuing on.

Last edited by KingOfAwesome58219 (Sept. 26, 2014 16:01:47)

Powered by DjangoBB