libscratchcpp 0.7.0
Pre-release
Pre-release
Breaking changes:
- Added boundingRectangle() method to ISpriteHandler (has to be implemented by the project player) (#344).
- Refactored the graphics effect API (#346).
- Moved graphics effect methods to the Target class (#313).
- Removed the image API (#345).
- Refactored the clone API.
- Fixed clone dangling pointer issues (#372).
- Optimized Block::inputs(), Block::fields() and other methods by changing the return type to reference (#359).
- Refactored script starting logic (#395).
- Added deinitClone() method to ISpriteHandler (#391).
- Completely rewritten the event loop to behave like Scratch.
- Added isBackdropBroadcast() method to Broadcast and added a parameter for it to the constructor.
Non-breaking changes:
- Added overloaded IEngine::setKeyState() with KeyEvent (#357).
- Added support for reading variables using the sensing_of block (#374).
- Added clickSprite() method to IEngine (#392).
- Added kill() method to VirtualMachine.
- Added methods for registering green flag and "when backdrop switches to" scripts.
- Added FPS limit (maximum is 250 and setting FPS to 0 or below won't do anything).
- Added step() method to IEngine (#401).
- Added audio playback API (#251).
- Implemented sound playback blocks (#82, #83, #84).
- Projects now stop before they're started (#394).
- Added intersects() method to the Rect class (#417).
- Added API for stage monitors (#124).
- Implemented blocks for variable and list monitors (#424, #425).
Full Changelog: v0.6.0...v0.7.0