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

#1 2011-09-22 08:24:52

EricSinger
New Scratcher
Registered: 2011-09-22
Posts: 1

API/SDK for creating new Blocks?

Hi,
I'm new to Scratch. I've searched the net but can't find many resources about creating new blocks. Is there an API for doing this? Is it a matter of writing Squeak or Smalltalk resources in a certain format? Or would I have to recompile the whole source to Scratch to accomplish this?
Thanks in advance,
Eric

Offline

 

#2 2011-09-22 08:37:04

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

Re: API/SDK for creating new Blocks?

It requires some knowledge of Squeak Smalltalk to write new blocks for Scratch, but if you want procedures, you may want to try out BYOB, a mod(ification) that allows custom blocks. In fact, BYOB stands for "Build Your Own Blocks"!
If you mean new Smalltalk blocks, I recommend you check out the Block Library, or use Scramble, an environment that lets you easily create new blocks.  smile

Offline

 

#3 2011-09-23 12:59:22

whizzer
Scratcher
Registered: 2008-05-27
Posts: 500+

Re: API/SDK for creating new Blocks?

http://wiki.scratch.mit.edu/wiki/Shift- … before_1.4
http://info.scratch.mit.edu/Source_Code
That should start you off.

Last edited by whizzer (2011-09-23 12:59:35)


http://i46.tinypic.com/33df6me.png I'm whizzer0 for all things Minecraft.

Offline

 

Board footer