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

#1 2011-03-26 21:47:42

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Scratch 2.0 Progress Report: Create your own block

Here's the latest Scratch 2.0 Progress Report

Check it out, and then join in the discussion about the best way to do 'Create your own block' in Scratch 2.0 here:

Create your own block blog post wrote:

We’re still in the process of figuring out the best way for Scratchers to create their own blocks, and there are still many questions. For example, if you create a jump block in one sprite, would other sprites be able to use the jump block too? Should the definition script appear in only one sprite -- and, if so, how would people find it? Should you be able to define “jump” differently in different sprites? These are few of the questions we have to think through before we’re ready to put this cool feature in the next version of Scratch.


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#2 2011-03-26 21:49:23

cat7420
Scratcher
Registered: 2010-02-19
Posts: 21

Re: Scratch 2.0 Progress Report: Create your own block

sweet!

Offline

 

#3 2011-03-26 21:50:27

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

This is gonna be awesome!


Posts: 20000 - Show all posts

Offline

 

#4 2011-03-26 22:01:41

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

Yesss! This is what the BYOB community has been waiting for!  tongue


http://i.imgur.com/WBkM2QQ.png

Offline

 

#5 2011-03-26 23:19:15

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

Re: Scratch 2.0 Progress Report: Create your own block

Awesome!!!  big_smile


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

Offline

 

#6 2011-03-27 00:06:31

puppetadventurer
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

wow not very many replies


3

Offline

 

#7 2011-03-27 00:09:07

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

puppetadventurer wrote:

wow not very many replies

Because this isn't being advertised in Miscellaneous?
..........................................
*clicks link*


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#8 2011-03-27 00:46:57

webstermath
Scratcher
Registered: 2010-09-21
Posts: 10

Re: Scratch 2.0 Progress Report: Create your own block

Why not just include a local or global option like with variables and lists when the blocks are defined?  If blocks are defined as global they can maybe then be moved to a collapsible header or footer in every sprites script area.

Offline

 

#9 2011-03-27 08:34:53

maail
Scratcher
Registered: 2009-04-02
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

or keep a website for the ones that have been defined?  hmm  Anyway I have waited a long time for BYOB!


http://i.imgur.com/uH8sS.png

Offline

 

#10 2011-03-27 09:30:56

Clank23
Scratcher
Registered: 2011-03-01
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

I can not wait!
Will there be a seperate section for created blocks?
Also it would be good if all sprites can have the blocks you make.


http://img846.imageshack.us/img846/4333/signaturely.png

Offline

 

#11 2011-03-27 09:44:32

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

webstermath wrote:

Why not just include a local or global option like with variables and lists when the blocks are defined?  If blocks are defined as global they can maybe then be moved to a collapsible header or footer in every sprites script area.

Interesting idea - I kind of like it! Care to make a mockup that shows how this might look?


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#12 2011-03-27 09:45:15

rocket101
Scratcher
Registered: 2009-08-21
Posts: 500+

Re: Scratch 2.0 Progress Report: Create your own block

And how about something like Panther's CYOB, too? There would be no more "scratch should have the ___ block" threads! Because it's kind of advanced, however, maybe you could enable/disable it (like the motor blocks)

Last edited by rocket101 (2011-03-27 09:47:07)

Offline

 

#13 2011-03-27 10:23:46

DoctorOctagonapus
Scratcher
Registered: 2010-06-28
Posts: 88

Re: Scratch 2.0 Progress Report: Create your own block

Finally another progress report!


http://www.gifsoup.com/imager.php?id=17618SPAAAAAAAAAAACCCCCE!!!!!!!!!!!!!!!!!!!!

Offline

 

#14 2011-03-27 10:38:36

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

Nice! I would like to know is jens working on this too?

Offline

 

#15 2011-03-27 11:46:59

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

dav09 wrote:

Nice! I would like to know is jens working on this too?

I'm guessing not. Jens is no longer on the Scratch Team, and he's primarily working on BYOB and morphic.js, at least in Scratch-related work. (to my knowledge)


http://i.imgur.com/WBkM2QQ.png

Offline

 

#16 2011-03-27 11:58:50

adriangl
Scratcher
Registered: 2007-07-02
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

Very cool! I cannot wait to try it out!


Scratchin' since 2007

Offline

 

#17 2011-03-27 12:27:54

gnk2200
Scratcher
Registered: 2009-10-23
Posts: 100+

Re: Scratch 2.0 Progress Report: Create your own block

Cool! Would making your own blocks reduce file size (by mashing up scripts)?

Offline

 

#18 2011-03-27 12:31:10

puppetadventurer
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

gnk2200 wrote:

Cool! Would making your own blocks reduce file size (by mashing up scripts)?

i bet


3

Offline

 

#19 2011-03-27 14:46:11

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

rocket101 wrote:

And how about something like Panther's CYOB, too? There would be no more "scratch should have the ___ block" threads! Because it's kind of advanced, however, maybe you could enable/disable it (like the motor blocks)

+1.  big_smile
I love the new report!  big_smile

Offline

 

#20 2011-03-27 15:49:56

GirWaffles64
Scratcher
Registered: 2009-08-09
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

Yus!


hey kiddoes i'm back

Offline

 

#21 2011-03-27 18:55:18

spongelove
Scratcher
Registered: 2010-02-05
Posts: 51

Re: Scratch 2.0 Progress Report: Create your own block

I think the block editor should be exactly like Jen's BYOB, but maybe add dropdowns? But yeah, what you're thinking of's a pretty good idea.


http://ultrarandomization.com/view/5464/.png

Offline

 

#22 2011-03-27 20:26:35

webstermath
Scratcher
Registered: 2010-09-21
Posts: 10

Re: Scratch 2.0 Progress Report: Create your own block

Lightnin wrote:

webstermath wrote:

Why not just include a local or global option like with variables and lists when the blocks are defined?  If blocks are defined as global they can maybe then be moved to a collapsible header or footer in every sprites script area.

Interesting idea - I kind of like it! Care to make a mockup that shows how this might look?

I started working on a mockup, but I am not sure when I will have the time to finish it.  Until then, I can give a better textual description of what I foresee:

In the block palette there will be a new tab called "Blocks".  When you click on this tab there will be a "make a block" button.  There will also be a list of all globally created blocks, under which there will be a list of locally created blocks separated by a line like with variables.  Finally, there should be a "delete a block" button.

When you click on the "make a block" button, a menu pops up similar to the "make a variable" menu, where you name the block and choose if it's local or global.

After writing the block the code is stored in a header if it is global and a footer if it is local.  In the script area there is a bar right below the "Script Costumes Sound" tabs with a "show/hide global block script" option.  After clicking "show", you are able to scroll above the bar and see and edit the code of every global block.  At the bottom of the script area there is a bar with a  "show/hide local block script".  Clicking on show for this bar reveals the code for local blocks below.  There should also be show/hide block script options when you right click the script area and when you click on "Edit" at the top.

Again when I have the time I will try to make a mockup.  However,  I am hoping this description is clear enough to suffice for now  smile

Offline

 

#23 2011-03-28 02:05:09

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

I love it.

It's realistic to a degree and it has the ability to function well.

Before i get into 1000-letter rants:

Perfect. Like defining a procedure in C++. Absolutely perfect for those who want to transition into real coding.


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#24 2011-03-28 04:10:55

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

Cool! I can't wait to finally play with this in Scratch. I especially love how Scratch follows BYOB's "inline palette" design for formal parameter blocks. Two questions, though:

1. Will there be functions, i.e. custom reporter blocks too?
2. Will the custom block scripts run interleafed or all at once ("atomic")?


Jens Mönig

Offline

 

#25 2011-03-28 04:25:33

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch 2.0 Progress Report: Create your own block

spongelove wrote:

I think the block editor should be exactly like Jen's BYOB, but maybe add dropdowns? But yeah, what you're thinking of's a pretty good idea.

Dropdowns, that is so what we - and BYOB - need(s).  big_smile

Offline

 

Board footer