This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-02-01 07:00:49

IRuleHyrule117
Scratcher
Registered: 2012-12-28
Posts: 15

An "I recieve _______" block

Hello! My idea is a block that says something like "I receive _____" block. This would be useful for an "If I receive______" situation. I have found myself needing this in many situations. Does anyone agree?


One Among the Fence

Offline

 

#2 2013-02-01 07:21:16

Blazingwave
Scratcher
Registered: 2012-10-27
Posts: 500+

Re: An "I recieve _______" block

Do you mean a block like this http://i50.tinypic.com/6qvgnc.gif     ?

Or do you mean this? http://i47.tinypic.com/23w8kyv.gif          ?
if you mean the second, you could simply use

if <(broadcast)=[1]>
   enter what you want to do here


When I receive [broadcast]
set (broadcast) to [1]
Or if you want it to reset every time you could add
when gf clicked
set (broadcast) to [0]

Last edited by Blazingwave (2013-02-01 07:30:34)


http://i42.tinypic.com/t8nrlh.gif  http://blocks.scratchr.org/API.php?user=Blazingwave&amp;action=onlineStatus&amp;online=http://i49.tinypic.com/25flloj.gif=http://i45.tinypic.com/o8i97l.gif
http://i41.tinypic.com/s1lyyo.jpg

Offline

 

#3 2013-02-01 08:01:33

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: An "I recieve _______" block

This has been suggested and denied many times because of its ease of workaround...


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#4 2013-02-02 23:14:54

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: An "I recieve _______" block

Mokat wrote:

This has been suggested and denied many times because of its ease of workaround...

What if I don't want to make a new variable?
I've always used the workaround - even before I really saw this complaint - and still get annoyed at having to use it. I was kind of shocked when I didn't see it in 2.0.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#5 2013-02-03 09:23:50

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: An "I recieve _______" block

But the workaround is really easy, and if you don't want to make a new variable, you can just make one and set it to something different each time.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#6 2013-02-03 13:36:30

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: An "I recieve _______" block

soupoftomato wrote:

Mokat wrote:

This has been suggested and denied many times because of its ease of workaround...

What if I don't want to make a new variable?
I've always used the workaround - even before I really saw this complaint - and still get annoyed at having to use it. I was kind of shocked when I didn't see it in 2.0.

Then make a list.

Offline

 

#7 2013-04-06 04:48:27

EH7meow
Scratcher
Registered: 2013-03-23
Posts: 24

Re: An "I recieve _______" block

I support. I think that new Scratchers would really benefit from a "When I Receive" stack block because I think a lot of people won't find out about this workaround until they've been on Scratch for a lot longer. For example, I have a project called Penalty Kick which would of benefited from this block. Although I'm now going to use this workaround to fix a bug in the program I would have never had this bug in the first place if this block had existed.


Love lovehearts? Love mending lovehearts? Then you'll love Love Doctor

Offline

 

Board footer