Our team has a suggestion for the next version of Scratch. There is a <when I receive[
top hat block for broadcasts, but we thought based on the design of our program that their should be a regular block to receive broadcasts like there is to send a broadcast
(<broadcast[) We hope you consider our suggestion, it would really make Scratch better.
kfry123 :-D
Offline
Hey thats my Idea! well i Support It completely, it would make it easier to use and actually take up less memory
Offline
How would it work? "Wait until I recieve <x>"?
Offline
blob8108 wrote:
How would it work? "Wait until I recieve <x>"?
well im thinking of to way's, either a "wait until i recieve <>" as a normal block of its own or a "wait until [(Dropdown)] "
The Dropdown will say:
"Variable"
"message"
"colour"
ect
Offline
Tbtemplex97 wrote:
blob8108 wrote:
How would it work? "Wait until I recieve <x>"?
well im thinking of to way's, either a "wait until i recieve <>" as a normal block of its own or a "wait until [(Dropdown)] "
The Dropdown will say:
"Variable"
"message"
"colour"
ect
You can already do "Wait until variable changed" with a few blocks, I think.
Offline
iTweak0r wrote:
I don't want [wait until I receive ()], I want < I receive () > as a boolean!
But a broadcast is an event, not a state. You can use booleans to test for states, like "is <key> pressed", but not to check for events.
The broadcast doesn't take any time to happen; it's instant. When would you expect "receiving ()" to be true? It seems to me that this only makes sense if a sprite is "receiving" for a certain amount of time, but this doesn't seem logical to me.
Offline
blob8108 wrote:
iTweak0r wrote:
I don't want [wait until I receive ()], I want < I receive () > as a boolean!
But a broadcast is an event, not a state. You can use booleans to test for states, like "is <key> pressed", but not to check for events.
The broadcast doesn't take any time to happen; it's instant. When would you expect "receiving ()" to be true? It seems to me that this only makes sense if a sprite is "receiving" for a certain amount of time, but this doesn't seem logical to me.
Its very logical to me, if wanted it before, it lets you put a If i recive / wait until i recieve in the middle of a script, making it easier to use a single script and use up less memory, altogether its and excellent idea (in my opinoin)
Offline
iTweak0r wrote:
I don't want [wait until I receive ()], I want < I receive () > as a boolean!
no. It will only be true for one millisecond, therefore it is only usefull in <wait until>, <repeat until> with 1 block inside and <forever if> with 1 block inside, or if the broadcast block was in a <forever>, <forever if> or <repeat until>.
Consider instead: a block called (most recent broadcast)
Offline
Tbtemplex97 wrote:
blob8108 wrote:
iTweak0r wrote:
I don't want [wait until I receive ()], I want < I receive () > as a boolean!
But a broadcast is an event, not a state. You can use booleans to test for states, like "is <key> pressed", but not to check for events.
The broadcast doesn't take any time to happen; it's instant. When would you expect "receiving ()" to be true? It seems to me that this only makes sense if a sprite is "receiving" for a certain amount of time, but this doesn't seem logical to me.Its very logical to me, if wanted it before, it lets you put a If i recive / wait until i recieve in the middle of a script, making it easier to use a single script and use up less memory, altogether its and excellent idea (in my opinoin)
"Wait until I receive" does make sense. I still don't see the logic behind "If I'm receiving".
Offline
It'd be impossible for there to be a boolean though, as a broadcast takes, like, 0.01 seconds or something.
Last edited by RedRocker227 (2011-12-01 13:43:31)
Offline
RedRocker227 wrote:
It'd be impossible for there to be a boolean though, as a broadcast takes, like, 0.01 seconds or something.
![]()
Exactly; that's what I thought. "<if I'm recieving>" doesn't make sense.
Offline
blob8108 wrote:
iTweak0r wrote:
I don't want [wait until I receive ()], I want < I receive () > as a boolean!
But a broadcast is an event, not a state. You can use booleans to test for states, like "is <key> pressed", but not to check for events.
The broadcast doesn't take any time to happen; it's instant. When would you expect "receiving ()" to be true? It seems to me that this only makes sense if a sprite is "receiving" for a certain amount of time, but this doesn't seem logical to me.
Ya but in panther they have it
Offline