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

#76 2008-01-13 22:16:41

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: A recieve sensing block

and script numbers. like               if sprite ? clciked    < script 4
                                                  broadcast shoot
                                                  swithc to costume 9
                                                  swithc to costume 8
                                                  so on in a repeat,
               
           And if that one keeps going, in the middle of annother sprites script,
                                                            if I recive "yes im using that recive sense block
                                                             stop script no. 4


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#77 2008-01-14 18:45:36

funkymonkey
Scratcher
Registered: 2007-06-03
Posts: 1000+

Re: A recieve sensing block

yes, but which is more important? script #'s, a recieve sensing block, or changing variable types


http://i243.photobucket.com/albums/ff67/hprules_photos/banner2.jpg
Kuzimu: Dawn of a New Age                                                                                                  Coming May 2010

Offline

 

#78 2008-01-14 20:26:05

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: A recieve sensing block

why not have them all in the next downloadable scratch? i think changing variables is the least important, then a tie with receive and script numbers.

Last edited by Heybrian (2008-01-14 20:26:31)


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#79 2008-01-17 18:38:23

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: A recieve sensing block

Oh yeah does anyone know when the next downbloadable scratch is?


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#80 2008-01-21 17:11:50

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: A recieve sensing block

PS: By sensing i mean the diamond light blue one.


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#81 2008-02-02 10:05:01

rockie
Scratcher
Registered: 2007-11-18
Posts: 100+

Re: A recieve sensing block

i can't count the times i have wanted a recieve sensing block
<wait until><I recieve      >


No signature currently stored in profile.

Offline

 

#82 2008-02-02 22:43:16

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: A recieve sensing block

totaly!


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#83 2008-02-03 09:19:35

funkymonkey
Scratcher
Registered: 2007-06-03
Posts: 1000+

Re: A recieve sensing block

Heybrian wrote:

why not have them all in the next downloadable scratch? i think changing variables is the least important, then a tie with receive and script numbers.

i think changing variables is good too. but yeah, whoever makes scratch should look at this topic to add these to the next scratch

Last edited by funkymonkey (2008-02-03 09:19:55)


http://i243.photobucket.com/albums/ff67/hprules_photos/banner2.jpg
Kuzimu: Dawn of a New Age                                                                                                  Coming May 2010

Offline

 

#84 2008-02-03 09:20:36

funkymonkey
Scratcher
Registered: 2007-06-03
Posts: 1000+

Re: A recieve sensing block

i think someone should move this to the Suggustions forum


http://i243.photobucket.com/albums/ff67/hprules_photos/banner2.jpg
Kuzimu: Dawn of a New Age                                                                                                  Coming May 2010

Offline

 

#85 2008-02-03 09:50:46

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: A recieve sensing block

I would have thought a "wait until I recieve" block was superfluous - surely you just stop the stack where you would put such a block, and start a new stack underneath begining with "when I recieve..."


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#86 2008-02-03 10:00:30

funkymonkey
Scratcher
Registered: 2007-06-03
Posts: 1000+

Re: A recieve sensing block

sometimes its easier if you have an "i recieve" sensing block though


http://i243.photobucket.com/albums/ff67/hprules_photos/banner2.jpg
Kuzimu: Dawn of a New Age                                                                                                  Coming May 2010

Offline

 

#87 2008-02-03 10:38:22

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: A recieve sensing block

Mayhem, you are thinking only of straight-line code.  If you want the "wait until I receive" block inside a loop, it would be hard to emulate by just breaking up the code into separate scripts.

Offline

 

#88 2008-02-03 14:17:50

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: A recieve sensing block

Variables work too. I used that in my black mesa ad. i did:
           
                 <when green flag clicked>
                 <hide>

                  <when green flag clicked>
                  <wait until><( <{alien  }> <=>4)>
                  <show>

   While another script...
                                               <when green flag clicked>
                                               do balhblahblah
                                               <set{alien }to(4)

       instead of broadcast alien four.
You can see my black mesa ad.


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#89 2008-02-03 14:21:07

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: A recieve sensing block

By the way did this get moved? I dont remember starting this thread in the suggestive forums.           
                         <if>moved
                         <say[ OH! ]>
                         <else>
                         <say[ so why is it here???? O.O ]>
                         <end>


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#90 2008-02-03 14:51:03

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: A recieve sensing block

kevin_karplus wrote:

Mayhem, you are thinking only of straight-line code.  If you want the "wait until I receive" block inside a loop, it would be hard to emulate by just breaking up the code into separate scripts.

Not really - just have to have a broadcast at the end of the loop that is connected to a Recieve at the start of the loop.

IE

When I recieve STARTLOOP
(do something)
Stop

When I recieve OTHERBROADCAST
(do something)
Broadcast STARTLOOP


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#91 2008-02-03 15:19:49

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: A recieve sensing block

Mayhem wrote:

kevin_karplus wrote:

Mayhem, you are thinking only of straight-line code.  If you want the "wait until I receive" block inside a loop, it would be hard to emulate by just breaking up the code into separate scripts.

Not really - just have to have a broadcast at the end of the loop that is connected to a Recieve at the start of the loop.

IE

When I recieve STARTLOOP
(do something)
Stop

When I recieve OTHERBROADCAST
(do something)
Broadcast STARTLOOP

That would cause separate scripts though.

                                <when I receive[ blah ]>
                                <move( 10 )steps>
                                <stop script>

                               and look! what would hapen if we had script numbers!lets say you wanna stop the script while its still halfway! you do this: (this is only an example with script numbers.) when i recive otherbroadcast
                               stop script number 1 (the ten steps one


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#92 2008-02-03 15:39:57

funkymonkey
Scratcher
Registered: 2007-06-03
Posts: 1000+

Re: A recieve sensing block

Heybrian wrote:

Variables work too. I used that in my black mesa ad. i did:
           
                 <when green flag clicked>
                 <hide>

                  <when green flag clicked>
                  <wait until><( <{alien  }> <=>4)>
                  <show>

   While another script...
                                               <when green flag clicked>
                                               do balhblahblah
                                               <set{alien }to(4)

       instead of broadcast alien four.
You can see my black mesa ad.

then what exactly is the recieve sensing block for?


http://i243.photobucket.com/albums/ff67/hprules_photos/banner2.jpg
Kuzimu: Dawn of a New Age                                                                                                  Coming May 2010

Offline

 

#93 2008-02-03 19:10:39

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: A recieve sensing block

you dont really have to quote on such a big post. just right "heybrian: then whats a recive sensing for?"
                           well sometimes,its like this: you made a non global one. you forget. yuoyu have to do it all again.i did that with my scratch cat adventures too.
You cant use variables in every brick. But the thing is, beginners dont even use variables. scratch would be so much easeir for begginers if we had this block.


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#94 2008-02-06 23:32:51

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: A recieve sensing block

Variables are awesome.


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

Board footer