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

#51 2008-10-31 21:36:30

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: Custom Blocks

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  smile

Offline

 

#52 2009-02-08 10:20:22

jeffy24
Scratcher
Registered: 2008-12-23
Posts: 61

Re: Custom Blocks

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!  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  Too bad it isn't in there, though.   sad  sad  sad  sad  sad  sad

Last edited by jeffy24 (2009-03-22 17:14:07)


I'M A CREEPER http://4.bp.blogspot.com/-Fj1t1TmbPtc/UAp3ludvGCI/AAAAAAAAAlI/RXSkO96QN20/s1600/creeper.png

Offline

 

#53 2009-02-27 23:37:38

keikij
Scratcher
Registered: 2009-02-22
Posts: 1000+

Re: Custom Blocks

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.


Back from the Dead (And Stuff)

Offline

 

#54 2009-02-28 09:19:57

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Custom Blocks

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.  smile

Offline

 

#55 2009-03-08 22:18:38

randalpik
Scratcher
Registered: 2008-07-27
Posts: 82

Re: Custom Blocks

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.


My stuff: http://scratch.mit.edu/users/randalpik
Your face: Look at a gopher

Offline

 

#56 2009-05-18 13:52:54

vikaros
Scratcher
Registered: 2007-06-04
Posts: 100

Re: Custom Blocks

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/ScratchProcedureBlock.gif

Offline

 

#57 2009-05-19 14:17:39

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Custom Blocks

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

 

#58 2009-07-10 15:51:57

TimeFreeze
Scratcher
Registered: 2008-08-11
Posts: 500+

Re: Custom Blocks

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!


There are 10 types of people in this world: Those who understand binary, and those who don't. --[insert unrelated transition]-- GRANDILOQUENCE FTW!

Offline

 

#59 2009-07-12 03:47:05

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: Custom Blocks

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.


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

#60 2009-07-13 00:05:56

Tux
Scratcher
Registered: 2008-01-09
Posts: 100+

Re: Custom Blocks

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


Come here for great projects: http://scratch.mit.edu/users/Tux

Offline

 

#61 2009-07-24 15:47:21

big-bang
Scratcher
Registered: 2008-02-21
Posts: 1000+

Re: Custom Blocks

I'll just say that this is like using macros in other languages. And also...
*bump*


http://i47.tinypic.com/6edrbm.jpghttp://i45.tinypic.com/dw9hmw.jpghttp://i50.tinypic.com/f28tvn.jpghttp://i45.tinypic.com/ruwaop.jpg

Offline

 

#62 2009-07-24 15:50:25

iab97
Scratcher
Registered: 2009-04-04
Posts: 100+

Re: Custom Blocks

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!  big_smile


-iab97 One of my favorite quotes: "You can't direct the wind, but can adjust your sails." -Unknown

Offline

 

#63 2009-07-25 07:10:21

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

Re: Custom Blocks

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...


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

Offline

 

#64 2009-08-09 11:09:04

illusionist
Retired Community Moderator
Registered: 2008-07-02
Posts: 1000+

Re: Custom Blocks

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.  smile  I would have thought of red or gray like in BYOB...


http://i.imgur.com/8LX1NrV.png

Offline

 

#65 2009-08-16 23:07:21

TimeFreeze
Scratcher
Registered: 2008-08-11
Posts: 500+

Re: Custom Blocks

yea, red or gray seems nice. Though red might be a bit too confusing with whether it's obsolete or a custom block.


There are 10 types of people in this world: Those who understand binary, and those who don't. --[insert unrelated transition]-- GRANDILOQUENCE FTW!

Offline

 

#66 2009-08-18 12:40:55

sccar3
Scratcher
Registered: 2008-09-04
Posts: 100+

Re: Custom Blocks

awsome idea!!!!!!!!!!!!!!!!!!!!


http://1.bp.blogspot.com/-WInb2DZ2LBM/UQaLETx3VII/AAAAAAAAAmQ/ZOpSwEPggiE/s1600/The%2BElder%2BScrolls%2BOnline%2BSignup%2BBeta.jpg

Offline

 

#67 2009-08-18 15:37:34

TimeFreeze
Scratcher
Registered: 2008-08-11
Posts: 500+

Re: Custom Blocks

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!


There are 10 types of people in this world: Those who understand binary, and those who don't. --[insert unrelated transition]-- GRANDILOQUENCE FTW!

Offline

 

#68 2010-08-09 16:11:46

FLUDD
Scratcher
Registered: 2010-05-24
Posts: 11

Re: Custom Blocks

[blocks] <switch to costume[ jimmy]<say[ macrgory]<play sound[ mister mime]<stop all sounds><show>[/blocks] and thats how to make a sprite look stupid
big_smile  big_smile  big_smile

Offline

 

#69 2010-08-09 16:45:24

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Custom Blocks

Erm, spam necropost?

Anywho, good idea. I hope Scratch gets something like this soon.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer