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:
. To make a block you would have to click this:
. The block could hold several blocks inside like this:
. This would be very useful for shortening out your scripts that are too long or saving a certain script that you use multiple times.
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 love that suggestion but i would like a different color though.
Offline
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?
Offline
That would be very useful, instead of copying scripts and dragging them to where you want
PS- Why do you have 3 different accounts, TimeFreeze, TheChosenOne, Time4Scratchers.
Last edited by Infinex_emperor (2008-09-11 19:53:59)
Offline
Broadcasts can do that.
when I receive [something]
clear graphic effects
clear
stamp
repeat (20)
- change [ghost] effect by (5)
- change size by 5
set size to 100%
clear graphic effects
clear
And for when you want to activate the scripts inside it:
broadcast [something]
But this is good for shortening scripts that are waaay too long.
Offline
bhz wrote:
Broadcasts can do that.
when I receive [something]
clear graphic effects
clear
stamp
repeat (20)
- change [ghost] effect by (5)
- change size by 5
set size to 100%
clear graphic effects
clear
And for when you want to activate the scripts inside it:
broadcast [something]
But this is good for shortening scripts that are waaay too long.
See, the thing is that you can't export brodcasts. This would be like creating your own little block that you can use in all of your projects.
Offline
Infinex_emperor wrote:
That would be very useful, instead of copying scripts and dragging them to where you want
PS- Why do you have 3 different accounts, TimeFreeze, TheChosenOne, Time4Scratchers.
Time4Scratchers is just for the magazine, duh! TimeFreeze is my main, and TCO is just for like, well, other stuff I guess.
PSS- You wrote"PS- Why do you have 3 different accounts, TimeFreeze, TheChosenOne, Time4Scratchers.", and it should end with a question mark. Just wanted 2 bug u.
Offline
Also note that I forgot the ending attachment part of the block, srry.
Offline
Whoa, that's a good idea, I hope it comes in the next version of scratch
Offline
bhz wrote:
Broadcasts can do that.
when I receive [something]
clear graphic effects
clear
stamp
repeat (20)
- change [ghost] effect by (5)
- change size by 5
set size to 100%
clear graphic effects
clear
And for when you want to activate the scripts inside it:
broadcast [something]
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.
Offline
I think that Scratch should be able to support different programming languages 9than of course convert) so we can literally program our own blocks
Offline
Bluestribute wrote:
I think that Scratch should be able to support different programming languages 9than of course convert) so we can literally program our own blocks
me too but to someone else that might be too complex. which is why i think there should be 2 levels of programing
Offline
Hi, TimeFreeze.
Nice suggestion! It's well thought-out and your arguments are clear.
I agree, it would be really great to be able to make your own custom blocks in Scratch, both to use them in your own projects and to share them with other users.
We (the Scratch Team) has been thinking a lot about this feature. But we were thinking that it would be nice if the user-created block could take parameters, the way the built-in blocks do. For example, you might want a parameter to control how fast or far a sprite moved. Do you have any ideas about that?
-- John
Offline
johnadmin wrote:
Hi, TimeFreeze.
Nice suggestion! It's well thought-out and your arguments are clear.
I agree, it would be really great to be able to make your own custom blocks in Scratch, both to use them in your own projects and to share them with other users.
We (the Scratch Team) has been thinking a lot about this feature. But we were thinking that it would be nice if the user-created block could take parameters, the way the built-in blocks do. For example, you might want a parameter to control how fast or far a sprite moved. Do you have any ideas about that?
-- John
Well, I'm not sure I completely understand what you are saying about the parameters. But, anyways, thanks for supporting my suggestion!
Offline
This would shorten a lot blocks, but it's nothing than a block-hold (no offense).
Offline
CPfan123 wrote:
This would shorten a lot blocks, but it's nothing than a block-hold (no offense).
Well, yeah it's supposed to be a block holder. This is for unique stacks of blocks that you (or someone else) created and can use in a lot of things. The sample stack of blocks inside the custom block shown above is a cool effect my friend taught me how to do.
Offline
there is a way around this. Instead of useing a brodcast as mentioned above, you could create a veriable and a If statement, you could then when ever you need the script have that the verible go to 1 then back to 0. On the backround you could have a script: when green flag pressed forever if (veribale)=1 (enter script).
You could also then make this statement on a empty project with no other scripts/sprites and save it. Whenever you then need that script you could import it using the Extras feuter.
Hope that helps
Offline
thats a brilliant idea! I hope it is used.
Offline
yambanshee wrote:
there is a way around this. Instead of useing a brodcast as mentioned above, you could create a veriable and a If statement, you could then when ever you need the script have that the verible go to 1 then back to 0. On the backround you could have a script: when green flag pressed forever if (veribale)=1 (enter script).
You could also then make this statement on a empty project with no other scripts/sprites and save it. Whenever you then need that script you could import it using the Extras feuter.
Hope that helps
It helps, but I knew this already. The point of custom blocks is to make it variable-free, and easy to use. If you imported the project every time from the extras, you would have to delete the irrelevant sprites.
And that would be a real pain...
---TF
Last edited by TimeFreeze (2008-09-19 19:03:47)
Offline
I also think that it should be able to make different kinds of blocks. E.g number block like (1+1). You could create one for Pythagoras's theorem. You could also create true/false blocks (boolean).
Offline
This idea is......... BRILLIANT! I think Scratch would be easier with this and it should be added.
Offline
Auron wrote:
How would you program it? Sounds good! How about choosing what colour you want?
Yep, that would be even better! Color choosing..... do you mean your OWN color or what type of block it is? (motion, sensing, sounds, etc.)
Offline