Scratch项目整合

本文介绍了如何整合Scratch编辑器的各个组件,包括基于React的前端GUI、负责业务逻辑的VM以及处理块逻辑的Scratch Blocks。在整合过程中,可能会遇到问题,解决方法涉及到对Scratch-blocks的build.py文件进行修改。参考了GitHub和CSDN的相关资源。
摘要由CSDN通过智能技术生成

源文链接:https://github.com/LLK/scratch-gui/wiki/Getting-Started

The Scratch editor is built up modularly from several repos. Each can stand alone, but for development purposes you may need to make dependent changes in multiple repos at once.
Scratch编辑器由多个存储库模块化构成,每个都可以单独使用,但为了开发目的,你可以需要同时对多个repos
进行依赖更改

You probably won’t need all the repos. Clone the repo for the issue you are working on, and clone and link other repos as you need them.
你可能不需要所有的库,克隆你正在处理问题的库和克隆和连接其他你需要的

最主要的是:

• GUI - the React-based front end (基于React的前端)

• VM - Manages state and does business logic. It sends the state to the GUI.(管理状态并执行业务逻辑。它
将状态发送到GUI。)

• Scratch Blocks - branched from Blockly. This repo handles both the UI and logic for the portions of the
editor that blocks appear in. Talks to the GUI, which often pipes things through to the VM.
从Blockly分支。此存储库处理出现在其中的编辑器部分的UI和逻辑。 与GUI对话

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值