Skip to content

Releases: scratchcpp/libscratchcpp

libscratchcpp 0.10.1

07 Sep 16:09
Compare
Choose a tag to compare
libscratchcpp 0.10.1 Pre-release
Pre-release

Change log:

  • Fixed stopped projects with active scripts being reported as not running (#507).
  • Fixed processed bubble text (e. g. length limit) not passing to the target interface (#571).
  • Implemented Scratch 2.0-like bubble text formatting (#478).
  • Fixed switch costume/backdrop block behavior (#522).

Full Changelog: v0.10.0...v0.10.1

libscratchcpp 0.10.0

31 Aug 09:12
Compare
Choose a tag to compare
libscratchcpp 0.10.0 Pre-release
Pre-release

Breaking changes:

  • Added target parameter to Script::runHatPredicate().
  • Changed return type of IEngine::broadcast() (#555).
  • Improved broadcast API for case insensitive names (#560).
  • Removed Scratch version API for faster project loading (#496).

Non-breaking changes:

  • Added target property to Sound.
  • Fixed playback of sound clones (#538).
  • Added project stopped signal to IEngine (#515).
  • Added global volume API (#501).
  • Implemented the "when touching object" event block (#91).
  • Fixed questions not hiding when the script with the ask block stops (#486, #487)
  • Fixed text bubbles not hiding when the project stops (#468).
  • Fixed graphic effects not resetting when the project stops (#460).
  • Added API for top level block position (#181).
  • Added API for unsupported blocks used in loaded projects (#474).
  • Optimized project loading.
  • Fixed projects with variables/lists with duplicate ID not loading correctly (#567).
  • Implemented sound effects (#303, #342, #343, #86, #85, #87).
  • Sprites now move to front when startDragging() is called (#537).

Full Changelog: v0.9.0...v0.10.0

libscratchcpp 0.9.3

21 Aug 17:10
Compare
Choose a tag to compare
libscratchcpp 0.9.3 Pre-release
Pre-release

Change log:

  • Fixed a crash when cloning cloned sounds (#553).
  • Fixed a crash when compiling "no shadow" inputs with a value (#550).
  • Fixed dropdown menus compiling incorrectly (#549).
  • Fixed some broadcast blocks not compiling (#551).
  • Improved asset downloading (#556).

Full Changelog: v0.9.2...v0.9.3

libscratchcpp 0.9.2

29 Apr 11:55
Compare
Choose a tag to compare
libscratchcpp 0.9.2 Pre-release
Pre-release

Change log:

  • Fixed a crash in projects with variables or lists in edge-activated hat inputs (#545).
  • Fixed stop all block not stopping clone scripts (#547).
  • Fixed sensing "of" block not reading variables correctly (#548)

Full Changelog: v0.9.1...v0.9.2

libscratchcpp 0.9.1

13 Apr 21:45
Compare
Choose a tag to compare
libscratchcpp 0.9.1 Pre-release
Pre-release

Change log:

  • Fixed a crash when deleting a cloned sound (#535).
  • Fixed case sensitivity in the string contains string block (#524).
  • The mouse pointer position is now rounded (#434).

Full Changelog: v0.9.0...v0.9.1

libscratchcpp 0.9.0

08 Apr 12:37
5f83cd5
Compare
Choose a tag to compare
libscratchcpp 0.9.0 Pre-release
Pre-release

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

libscratchcpp 0.8.3

01 Mar 22:58
Compare
Choose a tag to compare
libscratchcpp 0.8.3 Pre-release
Pre-release

Change log:

  • Fixed clone scripts not stopping after the clone is deleted using "delete this clone" (#497).
  • Fixed a crash when stopping a custom block using "stop this script" inside a loop (#498).
  • Fixed loops getting stuck when count is a negative number (#503).
  • Fixed hidden sprites starting "when this sprite clicked" scripts when clicked (#502).

Full Changelog: v0.8.2...v0.8.3

libscratchcpp 0.8.2

24 Feb 13:14
Compare
Choose a tag to compare
libscratchcpp 0.8.2 Pre-release
Pre-release

Change log:

Full Changelog: v0.8.1...v0.8.2

libscratchcpp 0.8.1

17 Feb 14:16
Compare
Choose a tag to compare
libscratchcpp 0.8.1 Pre-release
Pre-release

Change log:

  • Fixed loading of projects containing scientific notation numbers (#488).

Full Changelog: v0.8.0...v0.8.1

libscratchcpp 0.8.0

11 Feb 15:24
Compare
Choose a tag to compare
libscratchcpp 0.8.0 Pre-release
Pre-release

Breaking changes:

  • Added onMoved() method to ISpriteHandler (#441).
  • Added API for speech and thought bubbles which introduced new methods in ISpriteHandler and IStageHandler (#341).

Non-breaking changes:

  • Added setPosition() method to Sprite.
  • Motion blocks now change sprite position using the setPosition() method (#439).
  • Added interface getters to Sprite and Stage (#440).
  • Added a CMake option to disable computed goto in the virtual machine (by @Arcnor).
  • Implemented the say and think blocks (#57, #58, #59, #60).
  • Added monitor property to Variable and List classes.
  • Implemented the show/hide variable/list blocks (#426, #427, #428, #429).
  • Added mouse wheel API to IEngine (#375).
  • Implemented the "when this sprite clicked" block (#92).
  • Implemented the "when stage clicked" block (#93).
  • Added simple promise API to VirtualMachine (#476).
  • Added question and answer API to IEngine (#407).
  • Implemented the "ask and wait" block (#108).
  • Implemented the "answer" block (#109).
  • Fixed nested warp procedures (custom blocks) keeping warp mode in parent (non-warp) procedures (#470).
  • Fixed Value comparison issues such as 5 != "5 " (#482).
  • Added API for project metadata (user agent) to IEngine (#126).
  • Added setters for block section and name to Monitor (#435).

Full Changelog: v0.7.0...v0.8.0