scratchfoundation / scratch-vm

Virtual Machine used to represent, run, and maintain the state of programs for Scratch 3.0
http://scratchfoundation.github.io/scratch-vm/
BSD 3-Clause "New" or "Revised" License
1.19k stars 1.46k forks source link

how to extension scratch3_microbit #2276

Open weijiahui1 opened 4 years ago

weijiahui1 commented 4 years ago

Excuse me? ‘src/extensions/scratch3_microbit/index.js’ Under this folder。 The _onMessage method will get 20-digit arrays. What do the last 10 digits mean and how can we extend them?

apple502j commented 4 years ago

I think it's from the hardware - from the Scratch HEX file, which is closed source. You can't extend.

weijiahui1 commented 4 years ago

How can I extend more code blocks and commands on this basis?

apple502j commented 4 years ago

Making from scratch? You need your own HEX

weijiahui1 commented 4 years ago

HEX what? How to own this?

apple502j commented 4 years ago

.hex file. As I mentioned before it's closed source. Nobody except ST knows how, and not sure if they'll tell you about it.