Releases: scratchcpp/libscratchcpp
Releases · scratchcpp/libscratchcpp
libscratchcpp 0.3.0
Change log:
- Added a way to change FPS (using IEngine::setFps()) (#128).
- Implemented the current (year, month, etc.) block (#203).
- Improved the random number generator (#219).
- Added a way to set the mouse pointer position using IEngine (#221).
- Fixed sprite direction range (from -180 to 180 degrees) (#225).
- Implemented all motion blocks except "if on edge bounce" (#34, #35, #36, #37, #38, #39, #40, #41, #42, #43, #44, #45, #46, #48, #49, #50, #51).
- Added a way to set the stage size (#224).
- Fixed decimals in the random block (#222).
- Fixed memory leaks in Value assignment operators (#235).
- Added isRunning() method to IEngine (#211).
Full Changelog: v0.2.0...v0.3.0
libscratchcpp 0.2.2
Change log:
- Fixed comparison of string with number starting or ending with a space (#195).
- Fixed comparison of NaN with "NaN" (string) (#197).
- Fixed comparison of 0 with NaN (#198).
Full Changelog: v0.2.1...v0.2.2
libscratchcpp 0.2.1
Change log:
- Fixed a crash after stopping the project (#186).
- Fixed some gcc 12 build errors (#213).
- Fixed a crash when using the days since 2000 block (#210).
- Fixed List::toString() separating items by spaces when there are only digits (#188).
- Fixed scientific notation to string conversion (#176).
- Fixed comparison of special values (#196).
Full Changelog: v0.2.0...v0.2.1
libscratchcpp 0.2.0
Breaking changes:
- Refactored the Value class (it's now 2-4 times faster).
- The Asset class now inherits from Entity (#156).
- Assets are now accessed using shared pointers (#157).
- Added API for clones which introduced some breaking changes (changed parameters of Script::setVariables()).
- Renamed Asset::md5ext() to Asset::fileName() (#158).
Non-breaking changes:
- Added API for top level reporter blocks for variables and lists (#123).
- Added API for inputs pointing to dropdown menus (the compiler now automatically reads selected menu items).
- Added addConstValue() method to Compiler for custom constant values.
- Implemented clone blocks (#97, #98, #99).
- Fixed wait blocks being ignored in scripts which run without screen refresh (#146).
- Added timer API (#125).
- Implemented timer blocks (#117, #118).
- Implemented the days since 2000 block (#120).
Full Changelog: v0.1.0...v0.2.0
libscratchcpp 0.1.1
Change log:
- Fixed Value class not converting strings with numbers with spaces correctly (#141).
- Fixed incorrect comparison of zero with string (#142).
- Fixed
Value::operator!=()
issues.
Full Changelog: v0.1.0...v0.1.1
libscratchcpp 0.1.0
Initial release of libscratchcpp.
NOTE: There might be incompatible API changes in any minor release before 1.0.0!