Skip to content

v0.5: Node and Node2D API for C++

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Aug 05:40
· 638 commits to main since this release
961cd48

It's now possible to set ELF scripts directly as scripts to any node. This means you can't access the Sandbox underneath, but it simplifies usage greatly. Public functions are still exposed, so that eg. signals can be connected and functions like _ready also work. These scripts will auto-create a Sandbox instance and share it among themselves, making it scalable. In the future, a property may be used to toggle between shared and dedicated sandbox for each instance.

A new Node and Node2D API has been implemented for C++, allowing access to Node duplication, freeing and child management. For Node2D all normal operations (position, rotation etc.) are supported.

What's Changed

  • Implement basic Vector and Node2D API for C++ by @fwsGonzo in #50
  • Add support for setting scripts directly onto nodes, and basic signal… by @fwsGonzo in #51

Full Changelog: v0.4...v0.5