User Tools

Site Tools


linux:creatingamodulescratch

This is an old revision of the document!


Creating a module for scratch 1.4

Everybody knows that scratch 1.4 has a custom module for WeDo projects with custom blocks for starting a motor, detection the tilt sensor, etc, but… How about creating your custom module???

For anyone who have wondered how a module in scratch is created, probably the first step is going into google and type something about custom blocks for scratch. Then you'll find a lot of information of the real-actual blocks of Scratch 2.0 (the web version), more on custom blocks (made in scratch) for this platform but nothing for creating a block with new funcionalities.

For all those who have wondered how to do this, I put here my notes about the issue.

My first discover is a WeDoModule.c (in C) that exposes to the virtual machine of scratch (squeak) the information about WeDo:

http://69.36.165.222/cgi-bin/viewvc.cgi/squeak/trunk/src/plugins/WeDoPlugin/WeDoPlugin.c?view=markup

linux/creatingamodulescratch.1423662023.txt.gz · Last modified: 2022/12/02 22:02 (external edit)