showcase

The repository includes source examples instead of generated Scratch projects. examples/showcase.py demonstrates the 64 bundled modules. Generate the five smaller, Scratch-uploadable showcase scripts and compile a part:

python split_showcase.py
python -c "from pathlib import Path; Path('examples/showcase.in').write_bytes(b'')"
python py2scratch.py --presentation --stdin-file examples/showcase.in examples/showcase_part1.py showcase_part1.sb3

Repeat for parts 2–5. The full combined showcase can exceed Scratch's 5 MB project JSON limit. The five numbered parts were checked individually in the Scratch VM. Run python show_modules.py to list bundled modules.

Try interactive keyboard input:

python py2scratch.py examples/input_demo.py input_demo.sb3

Load the project, click the green flag, and answer the prompts. Keep the hidden Python input decoder sprite when editing projects that use interactive input.