Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 07:38
· 151 commits to main since this release
3bd980a

rocco v0.4.0

The UI is now a tree. Scene.ui holds a List(Element), where Element := [Box(BoxConfig, List(Element)), Text(Text)], and a Box holds its children. The flat stream of Open, Text and Close is gone.

This release breaks the Vocabulary. Every game that builds a UI must change its code. Write Box(config, [...]) and Text(...) in place of Ui.box and Ui.text. The ui package keeps Ui.default_box and Ui.default_text, and adds the helpers label, float_at, panel and pad_all.

Built with the Roc nightly nightly-2026-10-11-7d256b9. Use the same nightly to run an app on these bundles.

Bundle URL
platform https://github.com/Pixelsprout/rocco-engine/releases/download/v0.4.0/platform-CdUrA58dQQFQLxKFBNEc9vtFP652ZwvQ5Tb59GYDCrUQ.tar.zst
linalg https://github.com/Pixelsprout/rocco-engine/releases/download/v0.4.0/linalg-C1juJZYY4R86QntuhBGakmnPKb77MpBxngEYNg2976wK.tar.zst
mesh https://github.com/Pixelsprout/rocco-engine/releases/download/v0.4.0/mesh-5kHC5kD57HyJDDYnvD3g3GLMoep5Jchc67kv8kUdcrYD.tar.zst
ui https://github.com/Pixelsprout/rocco-engine/releases/download/v0.4.0/ui-5msrKWjNRwuEBomX2R1CBFRycCCjrQCPjhEvJXtwWbU6.tar.zst
camera https://github.com/Pixelsprout/rocco-engine/releases/download/v0.4.0/camera-QiJqL4WFPQGUbBCMZ5bzjdLHhgRz7BiUw1ngwxWwHtP.tar.zst