Discuss Scratch

asdfghjkl28845
Scratcher
64 posts

WE NEED THIS BLOCK!!! [I receive message boolean]

Scratch Team,
Scratch brodcasting would be so much easier if only we had this block:
<i receive [ v]>

Last edited by Paddle2See (Dec. 18, 2014 13:19:19)


I can't think of a signature. I don't want to do this. I never agreed to this. This is annoying.
VoltageGames
Scratcher
1000+ posts

WE NEED THIS BLOCK!!! [I receive message boolean]

An “if I receive” would function exactly like
when I receive [ v]

no support.

i3-6100 / r9 380 / 8 gigs ram / 1 tb hdd

Click here to inflate my ego and thank me for my posts.


Langdon35
Scratcher
500+ posts

WE NEED THIS BLOCK!!! [I receive message boolean]

We don't need this block

VoltageGames wrote:

An “if I receive” would function exactly like
when I receive [ v]

no support.
We already have it.

Woohoo!
asdfghjkl28845
Scratcher
64 posts

WE NEED THIS BLOCK!!! [I receive message boolean]

VoltageGames wrote:

An “if I receive” would function exactly like
when I receive [ v]

no support.

Ah, but this could be in a script like

when green flag clicked
forever
say [Hi. ] for [2] secs
if <i receive [stop talking v]> then
stop [this script v]

end

end

Last edited by asdfghjkl28845 (Dec. 17, 2014 21:25:31)


I can't think of a signature. I don't want to do this. I never agreed to this. This is annoying.
asdfghjkl28845
Scratcher
64 posts

WE NEED THIS BLOCK!!! [I receive message boolean]

Langdon35 wrote:

We don't need this block

VoltageGames wrote:

An “if I receive” would function exactly like
when I receive [ v]

no support.
We already have it.

The if i recieve block?

Last edited by asdfghjkl28845 (Dec. 17, 2014 21:24:28)


I can't think of a signature. I don't want to do this. I never agreed to this. This is annoying.
The_Grits
Scratcher
1000+ posts

WE NEED THIS BLOCK!!! [I receive message boolean]

asdfghjkl28845 wrote:

VoltageGames wrote:

An “if I receive” would function exactly like
when I receive [ v]

no support.

Ah, but this could be in a script like

when green flag clicked
forever
say [Hi. ] for [2] secs
if <i receive [stop talking v]> then
stop [this script v]

end

end

The ‘When I receive block’ runs forever, no need for this block really. Keep on thinking up ideas for improving Scratch though!


stickfiregames
Scratcher
1000+ posts

WE NEED THIS BLOCK!!! [I receive message boolean]

Read the sticky










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
asdfghjkl28845
Scratcher
64 posts

WE NEED THIS BLOCK!!! [I receive message boolean]

stickfiregames wrote:

Read the sticky
Oh. Closed.

I can't think of a signature. I don't want to do this. I never agreed to this. This is annoying.
cwrivera99
Scratcher
500+ posts

WE NEED THIS BLOCK!!! [I receive message boolean]

asdfghjkl28845 wrote:

Scratch Team,
Scratch brodcasting would be so much easier if only we had this block:
<i receive [ v]>
http://scratch.mit.edu/discuss/topic/4789/?page=1#post-26545

jvvg wrote:

Before making a suggestion, be sure to check this topic for stuff that's already been suggested.

Suggestions that have been rejected

9. <broadcast received> boolean
There is way too much ambiguity to how this would work. Would it return true of the broadcast was fired at any point since the project was created, since the green flag was clicked, since something else was broadcasted, etc.? If you really want to do something like this, instead just make a variable and set it to 1 and use the equals block.

when this block is clicked::sensing hat//FYI, this is my old account that I no longer use. My current account is @DaSpudLord.
forever {do (a [scratch v]::events ring)::sound}::extension cstart
say [what the...?] in (the language of [the moon people v]::red)::control
create [spontaneous v] explosion in [a flea's stomach]::motion
That's not right...::cend
If you are reading this… Then congratulations! You have found the part of my signature that was eaten by a kumquat! (On a side note, you are probably in a kumquat's stomach.) Now get out of the kumquat's stomach and go do something productive with your life. Like playing this game over and over again. Very productive.
Cyoce
Scratcher
500+ posts

WE NEED THIS BLOCK!!! [I receive message boolean]

stickfiregames
Scratcher
1000+ posts

WE NEED THIS BLOCK!!! [I receive message boolean]

Cyoce wrote:

What about
<I am receiving [message1 v]?::events>
This would clear up much of the ambiguity.
A broadcast is an event, so unless it was fired in the same frame (or tick, probably) as the boolean was tested, it wouldn't be detected. That in itself might cause some confusion.

There are some boradcast blocks that would work though:
wait until I receive [broadcast v] :: events

repeat until I receive [broadcast v] :: events cstart
end

(time since [broadcast v] received :: events)










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
benandwren
Scratcher
28 posts

WE NEED THIS BLOCK!!! [I receive message boolean]

when this sprite clicked
when this sprite clicked<key [Speed is key!!!] pressed?>
if <Speed is key> then
show list [Bosses]

end


broadcast [This would work though]

Last edited by benandwren (Dec. 18, 2014 09:33:03)

ChocolatePi
Scratcher
1000+ posts

WE NEED THIS BLOCK!!! [I receive message boolean]

read the stickies
read the stickies
read the stickies
read the stickies
read the stickies
read the stickies
read the stickies
read the stickies
read the stickies
read the stickies
joshuaho
Scratcher
1000+ posts

WE NEED THIS BLOCK!!! [I receive message boolean]

I'm pretty sure that this suggestion won't be implemented because of the reasons below:
<broadcast received> boolean
There is way too much ambiguity to how this would work. Would it return true of the broadcast was fired at any point since the project was created, since the green flag was clicked, since something else was broadcasted, etc.? If you really want to do something like this, instead just make a variable and set it to 1 and use the equals block.

Its always a good idea to read the stickies at the top of the forum page before posting.

College student studying Communication and Fire Technology, communication lab tutor, guitar and piano player, perfectionist, and just some guy who regularly eats and trains physically to stay healthy.
Paddle2See
Scratch Team
1000+ posts

WE NEED THIS BLOCK!!! [I receive message boolean]

joshuaho wrote:

I'm pretty sure that this suggestion won't be implemented because of the reasons below:
<broadcast received> boolean
There is way too much ambiguity to how this would work. Would it return true of the broadcast was fired at any point since the project was created, since the green flag was clicked, since something else was broadcasted, etc.? If you really want to do something like this, instead just make a variable and set it to 1 and use the equals block.

Its always a good idea to read the stickies at the top of the forum page before posting.

Thanks for looking that up!

Yeah, I actually pushed pretty hard to get this added to Scratch 2.0 - but as we thought about it more, it became clear that it didn't really fit in with the idea of messages - you need something that will preserve (and clear) the history state of the message - so you probably need variables. So instead of implementing something ill-defined and complicated to understand, it was decided to give people other ways to end a repeated action, with expanded options in the Stop block.

Scratch Team Member, kayak and pickleball enthusiast, cat caregiver.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)



;

Powered by DjangoBB