terminator355 wrote:
bhz wrote:
Broadcasts can do that.
<when I receive[ abc ]
<clear graphic effects>
<stamp>
<repeat( 20 )
<change[ ghost ]effect by( 5 )
<change size by( 5 )
<end>
<set size to( 100 )%>
<clear graphic effects>
<clear>
And for when you want to activate the scripts inside it:
<broadcast[ abc ]and wait c>
But this is good for shortening scripts that are waaay too long.also you cant say "when i receive" in the middle of a script.
Fixed
Offline
TimeFreeze wrote:
I think scratch should have custom blocks. The point of custom blocks would be to put other coding inside them so that it would be sort of like generating a new type of block. You could export the custom blocks, and use them in other projects. For example, it would be in a new section called "custom". Like this: http://www.freewebs.com/scratchclubsite … %20Tab.gif http://www.freewebs.com/scratchclubsite … 20Tab2.gif. To make a block you would have to click this: http://www.freewebs.com/scratchclubsite … 7361717941. The block could hold several blocks inside like this:http://www.freewebs.com/scratchclubsite … 0Block.gif http://www.freewebs.com/scratchclubsite … 0Block.gif. This would be very useful for shortening out your scripts that are too long or saving a certain script that you use multiple times.
I would like that... If the Scratch Team were to check out this forum, they might say,
"I guess we should put that in there. After all, it might actually be very helpful for shortening out scripts!" It would be VERY helpful!
Too bad it isn't in there, though.
Last edited by jeffy24 (2009-03-22 17:14:07)
Offline
keroro645 wrote:
TimeFreeze wrote:
I think scratch should have custom blocks. The point of custom blocks would be to put other coding inside them so that it would be sort of like generating a new type of block. You could export the custom blocks, and use them in other projects. For example, it would be in a new section called "custom". Like this: http://www.freewebs.com/scratchclubsite … %20Tab.gif http://www.freewebs.com/scratchclubsite … 20Tab2.gif. To make a block you would have to click this: http://www.freewebs.com/scratchclubsite … 7361717941. The block could hold several blocks inside like this:http://www.freewebs.com/scratchclubsite … 0Block.gif http://www.freewebs.com/scratchclubsite … 0Block.gif. This would be very useful for shortening out your scripts that are too long or saving a certain script that you use multiple times.
i love that suggestion but i would like a different color though.
I agree, this would be awesome. But, the yellow is to bright. Maybe a turqoise would work.
Offline
I Was Thinking That Maybe They Can Make It So You Do Have To Program In Squeak But They Make It Easier So All You Have To Do Is Type
:
name #name#
#what it does or the description#
#code#
:
(# # = What To Type In That Area)
That Would Be A lot Easier and that way in squeak you don't have to type in different places all you need to type in is in one spot.
Offline
keroro645 wrote:
TimeFreeze wrote:
I think scratch should have custom blocks. The point of custom blocks would be to put other coding inside them so that it would be sort of like generating a new type of block. You could export the custom blocks, and use them in other projects. For example, it would be in a new section called "custom". Like this: http://www.freewebs.com/scratchclubsite … %20Tab.gif http://www.freewebs.com/scratchclubsite … 20Tab2.gif. To make a block you would have to click this: http://www.freewebs.com/scratchclubsite … 7361717941. The block could hold several blocks inside like this:http://www.freewebs.com/scratchclubsite … 0Block.gif http://www.freewebs.com/scratchclubsite … 0Block.gif. This would be very useful for shortening out your scripts that are too long or saving a certain script that you use multiple times.
i love that suggestion but i would like a different color though.
Or, you could have the words in black when the block is yellow. I agree it is too hard to see.
Offline
These are great ideas. I've mocked up a new visual inspired by TimeFreeze's and tried to include all the suggestions. I thought the Control blocks best described how a procedure call would work - a lot like broadcasting so I started with orange.
Offline
vikaros wrote:
These are great ideas. I've mocked up a new visual inspired by TimeFreeze's and tried to include all the suggestions. I thought the Control blocks best described how a procedure call would work - a lot like broadcasting so I started with orange.
http://www.learnplay.org/scratch/Scratc … eBlock.gif
Cool! But I might need a little bit more explaining.. ^.^
Offline
Hm... I haven't checked out this forum in a while, but it seems pretty good! I really like vikaros's idea for the blocks. I think that sums up how it would work, and dealing with the parameters, and pretty much everything else.
I think we've covered it up that the color shouldn't be that bright of a yellow.
Bhz: I'm not sure if you saw my post before, but I said that you couldn't export broadcast functions.
Magnie: Your idea of programming the blocks sounds good for a bit more advanced people, but for the people who are just learning to program, it might be a bit too much for them.
I think that covers it up, so I hope this gets into Scratch 1.5 or something!
Offline
Neat idea! Maybe, also, if there was a functions tab (beside scripts, costumes, and sound) that you put functions in. These would then be accessed by the new custom blocks.
Offline
What about making a block that's "set value 1 to []"
The drop-down menu contains: Ask for user input, variable[all variables], fixed value(Number), or a copy of the sensing block that's "[properties] of [all sprites]"
[] = drop down menu
Offline
TimeFreeze wrote:
I think scratch should have custom blocks. The point of custom blocks would be to put other coding inside them so that it would be sort of like generating a new type of block. You could export the custom blocks, and use them in other projects. For example, it would be in a new section called "custom". Like this: http://www.freewebs.com/scratchclubsite … %20Tab.gif http://www.freewebs.com/scratchclubsite … 20Tab2.gif. To make a block you would have to click this: http://www.freewebs.com/scratchclubsite … 7361717941. The block could hold several blocks inside like this:http://www.freewebs.com/scratchclubsite … 0Block.gif http://www.freewebs.com/scratchclubsite … 0Block.gif. This would be very useful for shortening out your scripts that are too long or saving a certain script that you use multiple times.
COOL idea!
Offline
This is an excellent idea, TimeFreeze! You should be able to edit the custom blocks, and have the scripting not show. Otherwise there's just not much point...
Offline
TimeFreeze wrote:
keroro645 wrote:
i love that suggestion but i would like a different color though.
Sorry I couldn't think of anything else. what color were you thinking of?
Its a bit too bright. I would have thought of red or gray like in BYOB...
Offline
yea, red or gray seems nice. Though red might be a bit too confusing with whether it's obsolete or a custom block.
Offline
Jonathanpb: Um.. I think the little arrow at the bottom right which shows and hides the scripts inside solves your question. I am a bit unsure of what you are saying.
sccar3: thanks!
Offline