Documentation for scratch mod

This is very much a work in progress.

This mod allows you to translate scratch blocks to text, or type text and use it to move the sprite.

We currently support the following blocks

If you have added the pen extension

penUp()

penDown()

clear() – erase the pen

Always:

move(steps)

repeat(num_times) (including nested)

turnRight(degrees)

turnLeft(degrees)

For other commands, the blocks will work but they won’t translate to text, nor can you type and run them as text. We only currently support a single sprite.

to do

Stop using eval to run code, use something else (Neil Fraser interpreter perhaps)

Match scratch behavior with for loops (putting in a delay between commands)

Add supported blocks

Contribution

This started as a class project, so I am very much accepting of any and all pull requests. The repos are on my github. Modified ones are vm and gui