Are you talking about the <[ ] received?> block? Lots of people want that and I hope it'll be in Scratch 2.0.
Offline
kayybee wrote:
If you really need it, use variables.
That's what I do. It would just be easier if we had this.
Offline
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':
(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)
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.
Offline
[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
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]. ^ false10.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
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.
Offline
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.
alt-click, scroll down, and click accept. Type your initials in the space given.
Offline
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:
('I recieve %e' #b #seesBroadcast)
Offline