Discuss Scratch

GlennWright
Scratcher
100+ posts

Broadcast Blocks

Although this is not one of my main suggestions for Scratch 2.0, a Scratcher would like the use of “When I receive <broadcast>” and/or "repeat until <broadcast>. They did not have the rights to post this, so I decided to it on their behalf. I also thought that this feature would be good, as there has not been any improvements in the broadcast section of Scratch 2.0, I noticed.
Lightnin
Scratcher
1000+ posts

Broadcast Blocks

Thanks, Glen! This has been a popular suggestion for a while now. The issue with repeat until “Broadcast” is that a broadcast is an instantaneous thing - and you can have more than one. It's not something whose state changes after it happens - like a variable.

We could make a repeat until broadcast check to see if the broadcast has happened since the last start of the repeat loop, but it kind of muddies the concept. So for now, the best way to tackle this is to have the broadcast set a variable, and have the repeat while loop check it before repeating.
HecamefromplanetZ
Scratcher
1 post

Broadcast Blocks

Powered by DjangoBB