convert Scratch 3.0 Script to Python Code!
Compiler Scratch to Python, Create more possibilities.
- 把
.sb3的后缀名改为.zip,并解压 - 从压缩包里找到
projects.json,放到sc3py/compiler/source/文件夹下 - 直接运行sc3py/compiler/compiler.py
- 查看结果:打开sc3py/compiler/result/main.py文件,查看编译后的代码。该文件夹中的scgame是为了保证不出红线(syntax error)而写的临时库,一点用都没有,
main.py是目前的唯一成果。
