Rive Editor 0.9.335

vector mesh test video.mp4
  • ๐Ÿงฉ Mesh and N-Slice on Components: a Component set to Mode: Node can now take a Mesh or an N-Slice, like an image. Select the Component and pick one under Deform in the Inspector. The Component draws its artboard as a flat image and deforms that, so you can bind it to bones, animate its vertices and slice it. Edit Mesh, Auto Trace and Auto Weights work as they do on images. Like an image, it softens when scaled up. Leaf and Layout Components can't take a mesh, so change Mode to Node first. As requested here.

  • ๐ŸŒ€ Angular gradients: pick Angular in the color picker, next to Linear and Radial, and the gradient's colors sweep around a center point instead of along a line. On the stage, drag the center dot to move the sweep, the dot on the ring to turn it, and either ring dot to stretch it into an ellipse. Color stops sit around the ring. Angular gradients draw in runtimes that use the Rive Renderer; other renderers show the first color as a solid fill. As requested here.

  • ๐Ÿ”ข Max Characters and Max Lines on Text Input: set them in the Text Input section of the Inspector, or bind them. 0 means no limit. Typing and Enter stop at the limit, and a paste keeps only what fits. Max Lines counts lines as they wrap on screen. Text set by a data bind is never trimmed. The built-in Text Input component also exposes both as view model properties.

  • ๐Ÿ‘† Click outside a Text Input to leave it: pressing anywhere outside a focused Text Input, including the empty space around the artboard, now removes its focus, as text fields in apps do. Before, the caret kept blinking and keys still went to the field. This works in the editor and in runtimes.

  • ๐Ÿ”Ž Type to find an image: the Image dropdown in an image's Inspector now takes typing, so you can find an image asset by name in a long list.

  • ๐Ÿ”— Deleting objects keeps the right links: in a blend state, switching to another animation and then deleting the old one no longer clears the new one. Deleting a Solo's child in Animate mode no longer adds a key. Switching a 1D blend state between an input and a view model property now keeps its events and listener actions. Before, it deleted them. Files that already point to deleted objects get those links cleared when you open them.

  • ๐Ÿ“‹ Copy and paste no longer grows files: copying content that uses a library view model and pasting it into another file now brings only the instances that content uses. Before, each paste added every instance of that view model, so files that traded content kept doubling: one reached 7,040 instances of a view model it used 6 of. To clean up a file that already grew, right-click the view model in the Data Panel and choose Delete Unused Instances. Pasting styles also no longer saves extra clipboard data into the file, and files that already carry it are cleaned up when opened.

  • โฑ๏ธ Faster artboard duplication: duplicating an artboard in a large file now takes about 2 seconds instead of 6.6.

  • ๐Ÿ–๏ธ Drag several artboards at once: with several artboards selected, dragging one by its header now moves them all. Before, it deselected the others and moved only the one you grabbed.

Scripting

  • ๐ŸชŸ Canvases in a split stage: with the stage split and the same scripted artboard in both viewports, a script that draws into a canvas no longer shows a stray, cropped copy of its drawing.

  • ๐Ÿงฑ GPU script bind groups follow the entry points: a pipeline now builds its automatic bind group layouts from its own vertex and fragment entry points, not from the whole shader module. A pipeline no longer needs bind groups for resources only other entry points use, and a draw whose bind group doesn't match the pipeline's layout now reports an error. Texture sampling is checked per entry point too.

Runtime

  • ๐Ÿ“ Stacks keep content inside the stack: content larger than a stack now overflows by the stack's alignment, so a centered stack overflows on all sides and a bottom-left one overflows up and to the right. Before, it always overflowed to the bottom right. A Fill child no longer grows past its stack, and a Hug child stays inside it, as in a row or column. Turn on Hug past bounds to keep the full content size. Stacks inside stacks also lay out much faster: on a test file with a live leaderboard, a frame dropped from 942 ยตs to 104 ยตs, and from 2,680 ยตs to 112 ยตs with a 10-row list.

  • โšก Faster text and list updates: changing a text now solves its layout once instead of twice, and recoloring a text no longer triggers a layout at all. On the same file, updating data-bound meter values got 43% faster, rebuilding a 10-row list 55% faster, and adding 100 to 400 list items about 45% faster.

  • ๐ŸŽฏ Triggers between state machine layers: a view model trigger fired by one layer now reaches an earlier layer that waits on it. Before, the earlier layer could miss it when its state machine started playing in the same frame, so an animation waiting on that trigger never played. The editor now settles each frame the same way runtimes do, so it plays these files the same way too.

  • ๐Ÿ–ฑ๏ธ Scripts no longer block clicks: a scripted object whose script has no pointer handlers no longer takes every click across the artboard. In runtimes that pass unused clicks to the content behind the artboard, that content stopped getting input.

  • ๐Ÿชถ Inner feathers draw right away: a fill whose feather changes from outer to inner at runtime no longer disappears until its shape changes.

  • ๐Ÿ”ค Clearing a bound font: setting a data-bound font to nothing now clears it from every text run. Before, some runs disappeared while others kept the old font.

  • ๐ŸŽ๏ธ Faster path drawing: the Rive Renderer works out path bounds 5 to 9% faster, draws strokes with sharp turns 16 to 20% faster, and runs some math up to 50% faster on 32-bit ARM devices.

  • ๐Ÿฉน Android crash fixes: fixed a crash during rendering on devices with Mali GPUs. Devices whose Vulkan driver fails to start now fall back to OpenGL instead of crashing.