Skip to content

libscratchcpp 0.9.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@adazem009 adazem009 released this 08 Apr 12:37
· 742 commits to master since this release
5f83cd5

Breaking changes:

  • Added fastBoundingRect() method to ISpriteHandler.
  • Removed setFunctions() method from Script.
  • Replaced callbacks with signals (#475).
  • Refactored type casting (#523).
  • Moved bounding rectangle methods from Sprite to Target so that they can be used in Stage.
  • Added touching (clones, point, color) methods to ISpriteHandler and IStageHandler.

Non-breaking changes:

  • Added fastBoundingRect() method to Sprite.
  • Fixed sprite fencing (#469).
  • Dependencies such as nlohmann_json and zip don't have to be installed on the system anymore (#492).
  • Added API for getting the library version (#500).
  • Fixed hangs on Windows when audio support is enabled (#506).
  • Implemented microphone loudness blocks (#115, #116).
  • Added API for edge-activated hats (hats which are processed on every frame and activated when value reported from the block predicate changes from false to true).
  • Implemented the "when greater than" event block (#95).
  • Added onInit() method to IBlockSection (#409).
  • Added blockFunctions() method to IEngine.
  • Improved performance when compiling projects by caching the list of block functions (#366).
  • Implemented hexadecimal, octal and binary string conversion (#462).
  • Added threadAboutToStop signal to IEngine (#410).
  • Fixed decimal point number precision (#444).
  • Added 330 characters limit to Target::setBubbleText() (#479, by @Jessie-JY2728).
  • Added touching (edge, point, sprite, color) methods to Target.
  • Implemented the touching object block (#104).
  • Implemented the touching color block (#105).
  • Fixed crashes caused by undefined variables and lists (#446).
  • Fixed Value::toBool() (#517).
  • Sounds in clones don't share the volume anymore (#411).

Full Changelog: v0.8.0...v0.9.0