Scratch 2.0 script to ScratchBlocks
Scratch 2.0 script to ScratchBlocks – View
In alpha stage, you must unzip the .sb2 created by exporting to local file. Then, open project.json. Find the sprite, and then the scripts property. Copy it, up until the comma at the end. Alternatively, take a single script, with or without the positioning. Paste into the box.
If you gave it all the scripts, it will parse them all, surrounding each in seperate [scratchblocks]...[/scratchblocks] tags. If not, it won't add the tags.
Some block labels may not be correct, because Scratch 2.0 is alpha software, and is always changing.
Found a bug that's not on here? Please let me know!
- Procedures are often rendered incorrectly.
The option "mouse-pointer" in blocks such as "go to" renders as "_mouse_". Empty boolean inserts render as "false". Example: <false and <touching [edge v]?>> should be: <<> and <touching [edge v]?>> Constants are not parsed. Stage cannot be selected in sprite selection. Stage monitors appear in sprite list.
Request a feature the same way you report a bug. :)
- A GUI - list of sprites in the project on the side, scripts on the right.
- Toggle between source and parsed ScratchBlocks.
- Give a whole SB2 file, and unzip it.