This project is fork from LLK/scratch-gui, it's goal is to complete a program that can build upload code to hardware. Especially for arduino and microbit. At present, this core function has been realized. But still need to improve the detail function for ordinary users.
This is a fast changing and incomplete program. It's for professional developer.
-
Before build scratch-gui. You should clone these link. Run
npm install
andnpm link
in these floders. (If you are in China. You may need to use net proxy to finish the following)git clone https://github.com/zhengyangliu/saveSvgAsPng git clone https://github.com/zhengyangliu/scratch-audio git clone https://github.com/zhengyangliu/scratch-blocks git clone https://github.com/zhengyangliu/scratch-l10n git clone https://github.com/zhengyangliu/scratch-render git clone https://github.com/zhengyangliu/scratch-vm cd saveSvgAsPng npm install npm link cd .. cd scratch-audio npm install npm link cd .. ...
-
Add some code to scratch-blocks/arduino_compressed.js, according to this Instruction.
-
CLone and run install in scratch-gui, then link those project.
git clone https://github.com/zhengyangliu/scratch-gui cd scratch-gui npm install npm link save-svg-as-png scratch-audio scratch-blocks scratch-l10n scratch-render scratch-vm
-
Clone scratch-link then install and run
git clone https://github.com/zhengyangliu/scratch-link cd scratch-link npm install
-
First start scratch-link, to provide hardware function link to scratch gui.
cd scratch-link npm run start
-
Start scratch-gui
cd scratch-gui npm run start-open
-
After webpack build finish, you should see a browser page pop up. Have fun.
...
- Read indefinite number of extensions from a specified path. Include the info of the extensions.
- Update toolbox by extensions.
- Modify the execution program of code generation, so that blocks' code can be generated immediately after modification, instead of waiting for the block drag to update.
- Fix the bug. When start at upload mode, the sprite of stage won't render even if we change to realtime mode.
- If device can not be connected, don't display original scratch link information, show the info of new scratch-link.
- Load and unload extensions by click.
- Lock block by program mode.
- Read indefinite number of extensions from a specified path. Include the info of the extensions.
- Add device selection windows. Extension content list can change by this selection.
- Update toolbox by deveice selection.
You can submit the Bug log in Issues of this project.