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

#1 2010-12-05 12:02:26

sebby384
New Scratcher
Registered: 2010-10-05
Posts: 10

wait until...

i think scratch should should add a "wait until i receive ........ " block to the menu as it would help with games greatly

Offline

 

#2 2010-12-05 19:00:16

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: wait until...

Are you talking about the <[ ] received?> block? Lots of people want that and I hope it'll be in Scratch 2.0.  neutral


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#3 2010-12-05 20:17:34

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

Re: wait until...

If you really need it, use variables.

Offline

 

#4 2010-12-05 20:19:20

12three
Scratcher
Registered: 2008-06-12
Posts: 1000+

Re: wait until...

kayybee wrote:

If you really need it, use variables.

That's what I do. It would just be easier if we had this.

Offline

 

#5 2010-12-05 21:53:17

StrykerV
New Scratcher
Registered: 2010-06-15
Posts: 51

Re: wait until...

Did you know you are able to make your own blocks on scratch? The block <[] recieved?>  is one block you are able to make. It's complicated, though, so I'll try to explain it as best as I can.
1.Open up Scratch, and hold down shift while clicking on the R in the scratch logo
2.A menu should appear. Click on turn fill screen off.
3. A white area to the right should appear, click on it, then in that menu click open, and in that menu click browser
4.Scratch objects> ScriptableScratchMorph> Click on the class button under ScriptableScratchMorph> Click on Blockspecs> Click on BlockSpecs again.
5.Alot of confusing text will appear in the space below. Find where it says 'control' at the very beginning
6.Paste this a space after where it says 'control':

Code:

(I recieve %e' #b #seesBroadcast)

7.Right click the area and hit accept, if this is your first name it may ask you for your initials.
8.To the left of the class button, there is the button instance; click on it.
9.Click on other ops> broadcast:> And replace the text with this: (you are not deleting it, it will create a new folder)

Code:

seesBroadcast: t1 
    | t2 |
    t2 _ ScratchEvent allInstances.
    t2
        reverseDo:     
            [:t3 | 
            t3 name = t1 ifTrue: [^ true].
            nil].
    ^ false

10.Right-click and hit accept. You can now exit out of the browser window. Click on control blocks and use that new block! (to save that block forever to your scratch window, shift-click the R in scratch and click save image for end user> yes.

Credit to sparks and his awesome thread, where I got the code for the block

Note: This block may not work for other people, when playing, however, you can tell them to create this block to be able to play.


99.9999% Crazy, 0.0001% Hamburgeh Makeh  smile

Offline

 

#6 2010-12-05 22:18:44

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

Re: wait until...

Uh... I don't think people would do all that just to play a game. Just use real blocks if you want everyone else to be able to play it.

Offline

 

#7 2010-12-09 19:58:05

monsterman7655
Scratcher
Registered: 2010-11-27
Posts: 1

Re: wait until...

[blocks]http://scratch.mit.edu/forums/viewtopic.php?id=51705#req_messagehttp://scratch.mit.edu/forums/viewtopic.php?id=51705#req_messagehttp://scratch.mit.edu/forums/viewtopic.php?id=51705#req_message[/blocks]i dont know how to use these

Offline

 

#8 2010-12-13 09:40:08

cls00
Scratcher
Registered: 2008-11-07
Posts: 14

Re: wait until...

StrykerV wrote:

Did you know you are able to make your own blocks on scratch? The block <[] recieved?>  is one block you are able to make. It's complicated, though, so I'll try to explain it as best as I can.
1.Open up Scratch, and hold down shift while clicking on the R in the scratch logo
2.A menu should appear. Click on turn fill screen off.
3. A white area to the right should appear, click on it, then in that menu click open, and in that menu click browser
4.Scratch objects> ScriptableScratchMorph> Click on the class button under ScriptableScratchMorph> Click on Blockspecs> Click on BlockSpecs again.
5.Alot of confusing text will appear in the space below. Find where it says 'control' at the very beginning
6.Paste this a space after where it says 'control':

Code:

(I recieve %e' #b #seesBroadcast)

7.Right click the area and hit accept, if this is your first name it may ask you for your initials.
8.To the left of the class button, there is the button instance; click on it.
9.Click on other ops> broadcast:> And replace the text with this: (you are not deleting it, it will create a new folder)

Code:

seesBroadcast: t1 
    | t2 |
    t2 _ ScratchEvent allInstances.
    t2
        reverseDo:     
            [:t3 | 
            t3 name = t1 ifTrue: [^ true].
            nil].
    ^ false

10.Right-click and hit accept. You can now exit out of the browser window. Click on control blocks and use that new block! (to save that block forever to your scratch window, shift-click the R in scratch and click save image for end user> yes.

Credit to sparks and his awesome thread, where I got the code for the block

Note: This block may not work for other people, when playing, however, you can tell them to create this block to be able to play.

When I tried to do step 8, it asked me if I wanted to cancel changes, and I said no. If i say no, it won't let me exit the thing!

Offline

 

#9 2010-12-16 11:37:50

werdna123
Scratcher
Registered: 2010-06-12
Posts: 1000+

Re: wait until...

cls00 wrote:

StrykerV wrote:

Did you know you are able to make your own blocks on scratch? The block <[] recieved?>  is one block you are able to make. It's complicated, though, so I'll try to explain it as best as I can.
1.Open up Scratch, and hold down shift while clicking on the R in the scratch logo
2.A menu should appear. Click on turn fill screen off.
3. A white area to the right... [removed for space]

When I tried to do step 8, it asked me if I wanted to cancel changes, and I said no. If i say no, it won't let me exit the thing!

That's the same with me.  hmm

Offline

 

#10 2010-12-16 12:11:30

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: wait until...

werdna123 wrote:

cls00 wrote:

StrykerV wrote:

Did you know you are able to make your own blocks on scratch? The block <[] recieved?>  is one block you are able to make. It's complicated, though, so I'll try to explain it as best as I can.
1.Open up Scratch, and hold down shift while clicking on the R in the scratch logo
2.A menu should appear. Click on turn fill screen off.
3. A white area to the right... [removed for space]

When I tried to do step 8, it asked me if I wanted to cancel changes, and I said no. If i say no, it won't let me exit the thing!

That's the same with me.  hmm

alt-click, scroll down, and click accept. Type your initials in the space given.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#11 2010-12-16 14:25:18

StrykerV
New Scratcher
Registered: 2010-06-15
Posts: 51

Re: wait until...

Oh I see what happened. I forgot a ', try this:

Code:

('I recieve %e' #b #seesBroadcast)

99.9999% Crazy, 0.0001% Hamburgeh Makeh  smile

Offline

 

#12 2010-12-16 14:58:54

StrykerV
New Scratcher
Registered: 2010-06-15
Posts: 51

Re: wait until...

StrykerV wrote:

Oh I see what happened. I forgot a ', try this:

Code:

('I recieve %e' #b #seesBroadcast)

Sorry, found another mistake, must be distracted today, try this instead of the one above:

Code:

('I recieve %e' #b #seesBroadcast)

99.9999% Crazy, 0.0001% Hamburgeh Makeh  smile

Offline

 

#13 2010-12-16 15:07:45

StrykerV
New Scratcher
Registered: 2010-06-15
Posts: 51

Re: wait until...

Code:

('I recieve %e' #b #seesBroadcast:)

Yep so distracted I forgot to the change the code. Must be the snow distracting me.


99.9999% Crazy, 0.0001% Hamburgeh Makeh  smile

Offline

 

Board footer