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

#1 2008-11-24 10:29:51

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

I receive <> block.

I nkow many don't think this is possible, but there should be an "I Receive" boolean bock. How would this say true or false? If you inserted "If I Receive: ding dong" into an
[blocks] <say[  ]for(  )secs> [/blocks]
It would say "True" Or "False" in if you receive the broadcast or not. This could lower the amount of variables in a game or movie.

So now, that I proved it can say if it is TRUE or FALSE no body can really say it won't work.


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#2 2008-11-24 16:09:45

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: I receive <> block.

anyone?


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#3 2008-11-24 19:12:02

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: I receive <> block.

I REALLY wish they could. Apparently broadcasts aren't booleans so it wouldn't work, but it's annoying having to use variables.


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#4 2008-11-24 19:17:49

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: I receive <> block.

hmnwilson wrote:

I REALLY wish they could. Apparently broadcasts aren't booleans so it wouldn't work, but it's annoying having to use variables.

exactly. I'm saying they can MAKE THEM booleans.


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#5 2008-11-24 19:51:16

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: I receive <> block.

hmnwilson wrote:

I REALLY wish they could. Apparently broadcasts aren't booleans so it wouldn't work, but it's annoying having to use variables.

How are variables more annoying to use than broadcasts?

Offline

 

#6 2008-11-24 20:00:32

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: I receive <> block.

Zelda123 wrote:

hmnwilson wrote:

I REALLY wish they could. Apparently broadcasts aren't booleans so it wouldn't work, but it's annoying having to use variables.

How are variables more annoying to use than broadcasts?

because you have to make a bunch of variables for something you could simply insert "I receive" instead of "if level= 3 switch to costume # 5


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#7 2008-11-24 20:03:43

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: I receive <> block.

I really prefer variables over broadcasts. I try to avoid using broadcasts unless its really necessary.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#8 2008-11-24 20:22:35

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: I receive <> block.

zawicki1fromyoutube wrote:

Zelda123 wrote:

hmnwilson wrote:

I REALLY wish they could. Apparently broadcasts aren't booleans so it wouldn't work, but it's annoying having to use variables.

How are variables more annoying to use than broadcasts?

because you have to make a bunch of variables for something you could simply insert "I receive" instead of "if level= 3 switch to costume # 5

Actually, you can keep on reusing variables instead of creating many more broadcasts, so you need much less. Is it basically laziness or the simplicisty that makes broadcasts "less annoying?"

Offline

 

#9 2008-11-24 21:00:27

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: I receive <> block.

Zelda123 wrote:

zawicki1fromyoutube wrote:

Zelda123 wrote:


How are variables more annoying to use than broadcasts?

because you have to make a bunch of variables for something you could simply insert "I receive" instead of "if level= 3 switch to costume # 5

Actually, you can keep on reusing variables instead of creating many more broadcasts, so you need much less. Is it basically laziness or the simplicisty that makes broadcasts "less annoying?"

Simplicity. It helps some n00bs.


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#10 2008-11-25 20:49:54

boinoinoi
Scratcher
Registered: 2007-06-05
Posts: 500+

Re: I receive <> block.

zawicki1fromyoutube wrote:

hmnwilson wrote:

I REALLY wish they could. Apparently broadcasts aren't booleans so it wouldn't work, but it's annoying having to use variables.

exactly. I'm saying they can MAKE THEM booleans.

That's the part that's impossible. broadcasts are only for an instant, so that way there would be only a fraction of a second that's when the broadcast is broadcasting.

Seriously, this block is impossible. It's a lot easier just to use variables.

THIS BLOCK IS IMPOSSIBLE. Now stop asking for it.


http://i30.tinypic.com/335fpxx.jpg
"Boinoinoi is the only person on the forums that I expect to be wearing a monocle all the time behind that screen, so I'm sure being as classy as he is, he knows what he's doing"        http://myfastcounter.com/count.php?c_style=88&amp;id=1284259111http://myfastcounter.com/count.php?c_style=88&amp;id=1286068127

Offline

 

Board footer