libscratchcpp
libscratchcpp copied to clipboard
C++ library for building Scratch project players
https://github.com/scratchfoundation/scratch-render/blob/c3ede9c3d54769730c7b023021511e2aba167b1f/src/Rectangle.js#L136-L141
https://github.com/scratchfoundation/scratch-render/blob/c3ede9c3d54769730c7b023021511e2aba167b1f/src/Rectangle.js#L121-L131
https://github.com/scratchfoundation/scratch-vm/blob/8dbcc1fc8f8d8c4f1e40629fe8a388149d6dfd1c/src/blocks/scratch3_looks.js#L389-L462
Engine currently has hard-coded methods for registering event blocks, but there should be a universal API for registering any event block.
The first time when detecting the Scratch version and the second when actually loading the project.