Discuss Scratch

awesome-llama
Scratcher
1000+ posts

Local Broadcasts

My suggestion: broadcasts that will only broadcast within a sprite or clone. This can remove some broadcasts in the selection list as they only show inside the sprite it is assigned to.
How they work: if it is broadcasted inside a clone, nothing except itself will recieve a broadcast. If broadcasted inside the sprite, no other sprites or clones can recieve this broadcast.

This can also help when you only want the clone to respond from its own broadcast, instead of the workaround using local variables to detect if the right clone revieves the broadcast.
broadcast [something v]
pianogirl84
Scratcher
1000+ posts

Local Broadcasts

Simple workaround-
when green flag clicked
. . .
set [broadcast var] to [now]
wait (1) secs
set [broadcast var] to (0)

when I start as a clone
wait until <(broadcast var) = [now]>
. . .
Ziggy741
Scratcher
1000+ posts

Local Broadcasts

No support, what's wrong with extra messages?
Sigton
Scratcher
1000+ posts

Local Broadcasts

The extra messages aren't a problem, especially if you name them well.

Sigton
space_elephant
Scratcher
500+ posts

Local Broadcasts

Ziggy741 wrote:

No support, what's wrong with extra messages?
they don't work with clones.

Powered by DjangoBB