Scratch Blocks is a library for building creative computing interfaces.
Find a file
Andrew Sliwinski be9d5fefed Merge from Upstream Blockly (#776)
* WIP merge from upstream google/blockly

* fixing some merging bugs. Getting the drag surface to work, updating some function calls, etc.

* make the trash can lid animate again and fix the cursor to show an x when things will be removed.

* Fix text rendering logic in fields

* Hand apply some more changes from blockly flyout.js to flyout_base.js.

Also revert 08efd1381c
in scratch-blocks since it breaks variables and there is more work fenichel is planning
to do here.

* Fix drop-down field rendering

* Resolve issue with text input field widths on init

* Remove unused blockly (built) files

* Remove unused language files

* Resolve lint issues and rebuild

* Add blockly build targets to cleanup script

* Return 0 if 'this.arrow_' does not exist in a dropdown field

* Remove unused / irrelevant comments
2017-02-02 14:17:43 -05:00
.github Improve contribution guidelines and issue/pr templates 2017-01-17 17:17:42 -05:00
blocks Merge from Upstream Blockly (#776) 2017-02-02 14:17:43 -05:00
blocks_common fix some annotations 2016-10-21 17:38:57 -07:00
blocks_horizontal Provide default toolbox XML (#679) 2016-10-13 17:05:25 -04:00
blocks_vertical fix drum menu 2017-01-03 12:13:07 -05:00
core Merge from Upstream Blockly (#776) 2017-02-02 14:17:43 -05:00
gh-pages Add Multi Playground Link to GH-Pages (#767) 2017-01-12 20:28:28 -05:00
i18n Handle non ascii characters in keys with an error. 2015-06-22 16:58:30 +02:00
media Text+drop-downs and number+drop-downs (#662) 2016-10-05 17:14:33 -04:00
msg Merge from Upstream Blockly (#776) 2017-02-02 14:17:43 -05:00
shim Shim goog in blocks_compressed_vertical (#656) 2016-10-03 20:26:55 -04:00
tests Merge from Upstream Blockly (#776) 2017-02-02 14:17:43 -05:00
.editorconfig Restore editor config 2016-05-03 17:55:53 -04:00
.eslintignore Build playgrounds for gh-pages 2016-12-24 13:17:24 -05:00
.eslintrc Stripping old blocks code; moving blocks -> blocks_common, project-wide lint (#580) 2016-08-30 15:50:59 -04:00
.gitignore Build playgrounds for gh-pages 2016-12-24 13:17:24 -05:00
.npmignore Publish to NPM 2016-09-24 14:51:59 -04:00
.npmrc Setting up npm registry for this repo. (#520) 2016-08-19 03:58:43 -07:00
.travis.yml Revert "Set git committer single-use vars" 2017-01-03 11:34:18 -05:00
blocks_compressed.js Merge from Upstream Blockly (#776) 2017-02-02 14:17:43 -05:00
build.py Stripping old blocks code; moving blocks -> blocks_common, project-wide lint (#580) 2016-08-30 15:50:59 -04:00
cleanup.sh Merge from Upstream Blockly (#776) 2017-02-02 14:17:43 -05:00
LICENSE Rename COPYING to LICENSE. Re GH-304 2016-05-03 17:07:19 -04:00
package.json Build playgrounds for gh-pages 2016-12-24 13:17:24 -05:00
README.md Remove vertical grammar warnings from playground 2016-12-21 19:15:26 -05:00
TRADEMARK Add TRADEMARK notice / file. Re GH-304 2016-05-03 17:26:35 -04:00
webpack.config.js Build playgrounds for gh-pages 2016-12-24 13:17:24 -05:00

scratch-blocks

Scratch Blocks is a library for building creative computing interfaces.

Build Status Dependency Status devDependency Status

Introduction

Scratch Blocks is a fork of Google's Blockly project that provides a design specification and codebase for building creative computing interfaces. Together with the Scratch Virtual Machine (VM) this codebase allows for the rapid design and development of visual programming interfaces.

This project is in active development and should be considered a "developer preview" at this time.

Two Types of Blocks

Scratch Blocks brings together two different programming "grammars" that the Scratch Team has designed and continued to refine over the past decade. The standard Scratch grammar uses blocks that snap together vertically, much like LEGO bricks. For our ScratchJr software, intended for younger children, we developed blocks that are labelled with icons rather than words, and snap together horizontally rather than vertically. We have found that the horizontal grammar is not only friendlier for beginning programmers but also better suited for devices with small screens.

Documentation

The "getting started" guide including FAQ and design documentation can be found in the wiki.

Donate

We provide Scratch free of charge, and want to keep it that way! Please consider making a donation to support our continued engineering, design, community, and resource development efforts. Donations of any size are appreciated. Thank you!