Skip to content

libscratchcpp 0.6.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@adazem009 adazem009 released this 09 Dec 14:53
· 1064 commits to master since this release
0acdf37

Breaking changes:

  • Changed Target::currentCostume() to Target::costumeIndex() which returns costume index and Target::currentCostume() now returns the costume (#296).
  • Refactored frame related methods of IEngine (#316).
  • The event loop has been rewritten to be closer to Scratch (#305).
  • Forced volume to be in range (from 0 to 100).
  • Refactored the ISpriteHandler and IStageHandler interfaces (#330).

Non-breaking changes:

  • Changes of visual properties now automatically request repaint (#276).
  • Fixed stop all block not stopping the script (#319).
  • Fixed screen refresh when calling already running broadcast (#257).
  • Changed the order of execution to the layer order (#315).
  • Added sprite layering API (#314).
  • Implemented layer blocks (#76, #77).
  • Implemented volume blocks (#88, #89, #90).
  • Fixed scripts being stopped when they called a running broadcast from a custom block (#277).
  • Added keepInFence() method to Sprite.
  • Implemented the "if on edge, bounce" motion block (#47).
  • Implemented turbo mode (#127).
  • Added a setter for redraw handler function to IEngine (#329).
  • Added stopEventLoop() method to IEngine (#334).
  • Fixed string conversion issues caused by the locale (#331).
  • Fixed the set rotation style block (#338).
  • The number of periods in a repeat times loop is now rounded if a floating point number is passed (#317).
  • Added API for comments in the code area (#129).
  • Added support for loading projects from URL (#130).
  • Fixed Project class not detecting Scratch version after changing the file name (#355).
  • Fixed "unsupported top level block" warning with shadow blocks (#255).

Full Changelog: v0.5.0...v0.6.0