Discuss Scratch
- Discussion Forums
- » Suggestions
- » Improving broadcasts
- MrFluffyPenguins
-
1000+ posts
Improving broadcasts
broadcast [message1 v] to [Sprite1 v] :: eventsYou should change the broadcasts blocks to have a second dropdown, for sending a broadcast to a specific sprite.
broadcast [message1 v] to [all v] :: events
broadcast [message1 v] to [Sprite1 v] and wait :: events
It could be useful, even if there's a workaround. There's no downside to adding this.
Options for 2nd dropdown:
all - sends broadcast to all sprites
name of a sprite - sends a broadcast to that specific sprite
myself - sends a broadcast only to the sprite that sent the broadcast
stage - sends a broadcast to the stage
Last edited by MrFluffyPenguins (Sept. 21, 2020 12:55:37)
- MrFluffyPenguins
-
1000+ posts
Improving broadcasts
added that to op One of the options should be “myself”.
- p-p-p-p-p-p-p-p-p-p-
-
1000+ posts
Improving broadcasts
I don't support because scratch is a place to be creative so if you find an obstacle, you could think outside the box. If everything is lying out for us, what is the point?
- fdreerf
-
1000+ posts
Improving broadcasts
It's literally a dropdown menu. I don't support because scratch is a place to be creative so if you find an obstacle, you could think outside the box. If everything is lying out for us, what is the point?
- ThatOneWeirdDude
-
1000+ posts
Improving broadcasts
I don't know, maybe the point is to make it easier for kids to learn to code? I don't support because scratch is a place to be creative so if you find an obstacle, you could think outside the box. If everything is lying out for us, what is the point?
aka the sole purpose of scratch
Last edited by ThatOneWeirdDude (Sept. 15, 2020 15:14:01)
- MrFluffyPenguins
-
1000+ posts
Improving broadcasts
Couldn't you say that to every suggestion though? I don't support because scratch is a place to be creative so if you find an obstacle, you could think outside the box. If everything is lying out for us, what is the point?
Also… it's just a dropdown. What's the big deal?
Last edited by MrFluffyPenguins (Sept. 15, 2020 15:30:36)
- JPOWERPUFFGIRLS
-
1000+ posts
Improving broadcasts
You could always just
when I receive [ message1]and only one sprite has that, it does the same thing
...
- MrFluffyPenguins
-
1000+ posts
Improving broadcasts
That works, but then you would have to create a lot more broadcasts. You could always justwhen I receive [ message1]and only one sprite has that, it does the same thing
...
- JPOWERPUFFGIRLS
-
1000+ posts
Improving broadcasts
not reallyThat works, but then you would have to create a lot more broadcasts. You could always justwhen I receive [ message1]and only one sprite has that, it does the same thing
...
Sprite 1
when I receive [ hello]Sprite 2
say [Hello]
when I receive [ hello]Sprite 3
say [Bonjour]
when I receive [ hello]
say [Ciao]
All 3 sprites would do different functions, using the same message
- fdreerf
-
1000+ posts
Improving broadcasts
But they would all fire at the same time. If you wanted to be economical and use one message and send it at different sprites, you'd need this suggestion.not reallyThat works, but then you would have to create a lot more broadcasts. You could always justwhen I receive [ message1]and only one sprite has that, it does the same thing
...
Sprite 1when I receive [ hello]Sprite 2
say [Hello]when I receive [ hello]Sprite 3
say [Bonjour]when I receive [ hello]
say [Ciao]
All 3 sprites would do different functions, using the same message
- JPOWERPUFFGIRLS
-
1000+ posts
Improving broadcasts
or justBut they would all fire at the same time. If you wanted to be economical and use one message and send it at different sprites, you'd need this suggestion.not reallyThat works, but then you would have to create a lot more broadcasts. You could always justwhen I receive [ message1]and only one sprite has that, it does the same thing
...
Sprite 1when I receive [ hello]Sprite 2
say [Hello]when I receive [ hello]Sprite 3
say [Bonjour]when I receive [ hello]
say [Ciao]
All 3 sprites would do different functions, using the same message
Sprite 1
when I receive [ hello]Sprite 2
say [Hello]
when I receive [ hello]Sprite 3
wait (1) secs
say [Bonjour]
when I receive [ hello]
wait (2) secs
say [Ciao]
- fdreerf
-
1000+ posts
Improving broadcasts
They all fire at the same, just delayed. or just
Sprite 1when I receive [ hello]Sprite 2
say [Hello]when I receive [ hello]Sprite 3
wait (1) secs
say [Bonjour]when I receive [ hello]
wait (2) secs
say [Ciao]
What if you wanted this script with only one message?
if <...> then
broadcast [send to sprite1 v]
else
broadcast [sent to sprite2 v]
end
- SquirreIstar
-
1000+ posts
Improving broadcasts
Then why do we have I don't support because scratch is a place to be creative so if you find an obstacle, you could think outside the box. If everything is lying out for us, what is the point?
change [var v] by ()? It has a very simple workaround that is primarily used in most programming languages, and kids could easily figure it out. “No support—it would make things too easy” is one of my top least favourite things to read on the forums.
- MrFluffyPenguins
-
1000+ posts
Improving broadcasts
yeah, scratch is meant to be an introduction to programming- not to be a challenge or make you think outside the box whenever something is inconvenientThen why do we have I don't support because scratch is a place to be creative so if you find an obstacle, you could think outside the box. If everything is lying out for us, what is the point?change [var v] by ()? It has a very simple workaround that is primarily used in most programming languages, and kids could easily figure it out. “No support—it would make things too easy” is one of my top least favourite things to read on the forums.
- SquirreIstar
-
1000+ posts
Improving broadcasts
exactly!yeah, scratch is meant to be an introduction to programming- not to be a challenge or make you think outside the box whenever something is inconvenientThen why do we have I don't support because scratch is a place to be creative so if you find an obstacle, you could think outside the box. If everything is lying out for us, what is the point?change [var v] by ()? It has a very simple workaround that is primarily used in most programming languages, and kids could easily figure it out. “No support—it would make things too easy” is one of my top least favourite things to read on the forums.
Last edited by SquirreIstar (Sept. 15, 2020 20:42:29)
- panda-wat
-
100+ posts
Improving broadcasts
this is easily worked around. make multiple messages.
- MrFluffyPenguins
-
1000+ posts
Improving broadcasts
you didn't read the op at all did you this is easily worked around. make multiple messages.
- Discussion Forums
- » Suggestions
-
» Improving broadcasts