libscratchcpp
libscratchcpp copied to clipboard
C++ library for building Scratch project players
Some projects converted from Scratch 2.0 use incorrect broadcast names in blocks, for example in [this project](https://scratch.mit.edu/projects/225569460), `StartGameTic` is used in broadcast blocks, but `startgametic` is the actual name. However,...
`Input::pointsToDropdownMenu()` returns incorrect values, it should check if there's a **shadow** block with a single field. All blocks with dropdown menus should use this method instead of the input type.
```cpp Value a = "đ"; Value b = "Đ"; bool eq = (a == b); // false bool neq = (a != b); // true ``` In Scratch: ...
Use it in sensing and pen (scratchcpp-render) blocks, refactor touchingColor() to use RGB triplet.
Will return the intersection of the rectangle and another rectangle.