Scratches: How can I write a list of programs in ascii format?

My nine year old son is applying for a programming competition. Any language is allowed and he wants to use Scratch. But the application requires an ascii text list to solve this preliminary problem. They will not accept a PNG screenshot or Scratch binary format. So how does he get the ascii listing of his program? If this is not possible (as I suspect), I just read his program and retype it into the ascii editor.

+4
source share
3 answers

Here you have several options.

If you use Scratch 1.4, you can save the project summary for text only. Slide the File menu, then Write project Summary.
This functionality will be available soon (hopefully) before Scratch 2.0. UPDATE: it is added.

You can also get a textual representation of all blocks using the Scratchblocks generator .

Or you can save the project 2.0 as myproject.sb2, rename it to myproject.zip, unzip the ZIP and take the file project.json.

Unfortunately, none of these methods can be easily imported back into Scratch.

+5
source

http://scratchblocks.imtqy.com converts your project into scratchblocks format. This is exactly what you are looking for.

+3

json script Scratch. , . ( )

  • " " - > .
  • ".zip" ".sb2".
  • project.json.
  • json- .
  • zip
  • .zip. ( ".sb2" )
  • Scratch, File- > Upload .
0

Source: https://habr.com/ru/post/1531425/


All Articles