Rive Editor 0.9.1010

Editor

  • ๐Ÿ”€ Bind the active Draw Order Rule: the Draw Order section of the Inspector has an Active dropdown, and you can bind it like a Solo's. Use a number to pick a rule by its position, with 0 for Normal. Use a string or enum to pick by name.

  • ๐ŸŽฌ Components in a Scripted Transition follow layout: a Component inside a Scripted Transition kept its artboard's size when the transition sat in a layout. It sizes with the layout now, as it does in a Solo.

  • ๐Ÿ•ฐ๏ธ Restoring a revision: on some files, restoring a revision crashed the editor. It also left view model properties that use a built-in enum blank. Both are fixed.

  • ๐Ÿ“ Script nodes land where you click: a Node, Layout, or Transition script added from the stage's right-click menu landed offset by the artboard's position. It lands under the cursor now.

  • ๐Ÿ”— Listeners that copy a view model reference: in the editor, a listener that set one view model property from another used the value from one change earlier. It uses the current value now, as the runtimes already did.

  • ๐Ÿ’ฅ Crash fix: dragging a layout that sits in a group into another layout.

Early Access

  • ๐Ÿ–‹๏ธ Inkbleed for fills and strokes: in the desktop app, the stage draws with inkbleed antialiasing. Use the Inkbleed amount on a fill or stroke to set how far it bleeds, from 0% (its true size) to 100% (half a pixel past its edges). It's saved and exported with the file, and runtimes use it when inkbleed is on.

AI Agent

  • โ˜๏ธ Chats sync to your account: a file's agent chats are there on any device you open it on. Deleting a chat deletes it everywhere.

  • ๐Ÿ“œ The agent places scripts: the agent can put a Node, Layout, or Transition script on an artboard. Before, it could write and test one, then had to ask you to drop it on the stage.

  • ๐Ÿ“– Better answers in Ask mode: the docs the agent answers from gained a page on Workspaces, list every kind of listener, and no longer name converters the editor doesn't have.

AnimaScript

  • โšก Faster scripts in the editor: the editor ran scripts with debugging checks on every line. It runs them optimized now. One script's setup went from over a second to about 100 ms on the interpreter, and under 11 ms as machine code.

  • ๐ŸชŸ Machine code on Windows: the installed Windows editor always fell back to the interpreter. It runs scripts as machine code now.

  • ๐Ÿ“š Library scripts in nested Components: a script from an imported library didn't run in the editor when its Component was nested in your file. It runs now.

  • ๐Ÿ”€ Overloads: functions and methods can share a name when their parameters differ, and each call picks one when the script compiles. โš ๏ธ decodeFileFromBlob is gone, since context.decodeFile takes a Blob now.

  • ๐Ÿ”’ Private and protected constructors: only the file that declares a private or protected constructor can create the class. Use them to offer a closed set of values.

  • ๐Ÿ–ผ๏ธ Storage textures: GPU scripts can write to a texture from a compute or fragment stage, on Metal, Direct3D, and WebGPU. Use features().storageTextures to check if the device can.

  • ๐Ÿ”ข Integer textures: GPU scripts can use r32uint, rg32uint, and rgba8uint textures and render targets. Use features().integerTextures to check if the device has them.

  • ๐Ÿง  Script memory: a script that ran out of memory at the end of a frame stopped for good. It keeps running now and recovers once it frees something. A frame that stores into a large array or map also no longer pauses several times longer on phones.

Scripting

These work in AnimaScript and Luau.

  • ๐Ÿงน Clear an image property: use null in AnimaScript or nil in Luau to clear a view model image property. The image is freed once nothing else uses it. Before, a script could set an image but never take it out.

  • ๐Ÿ” Sharp decoded files on high-density screens: a file a script loads with decodeFile now gets the screen's scale. Before, its layout scripts always got 1, so it drew blurry.

  • ๐ŸงŠ Preview no longer freezes on a failing script: a script whose setup kept failing was retried on every use in preview, which could freeze the editor. It stops after three tries now, until you change the script or its inputs.

  • ๐ŸŽจ Shader checks match Chrome: GPU script shaders that WebGPU allows but our check refused now bake, including pack2x16float, unpack2x16float, and quantizeToF16. Shaders Chrome refuses are errors when you bake, instead of failing in the browser.

  • ๐Ÿงฉ GPU script fixes: 3D textures keep every slice on Vulkan, WebGPU, and WebGL, compute shaders with an array or struct in workgroup memory run on Vulkan, and texture uploads with odd row sizes no longer shear on WebGL.

Renderer and Performance

  • ๐Ÿš€ Faster 3D textures on Metal and WebGPU: a GPU script that samples a 3D texture many times per pixel takes about 13% less time per frame on Metal, and 28% less on WebGPU.