Rive Editor 0.9.104
Weโve got a ๐ MONSTER release to start October: ๐๏ธ Flash and Animate files convert to Rive, ๐ฑ๏ธ Mouse wheel and trackpad scrolling, ๐ฒ๏ธ Right-click and middle-click listeners, ๐ฎ More controllers on Windows, and, in Early Access, โญ Inner and outer strokes.
๐๏ธ Flash and Animate files convert to Rive: drag an Adobe Animate .fla file (Animate CC or later), or a zipped XFL folder, into a project and it converts into a Rive file. Each library symbol becomes its own artboard, and the main timeline becomes the Scene 1 artboard. The converter is out of Early Access and available to everyone, and now carries over much more of how an Animate file plays:
Frame labels and frame scripts: frame labels become state machine states, and stop(), gotoAndPlay(), and gotoAndStop() frame scripts, by frame number or label, in AS2 or AS3, become transitions between them. Only top-level calls convert; calls inside functions or conditionals are skipped.
Working buttons: button symbols get Up, Over, and Down states driven by a state machine, with a hit area built from the Hit frame, or the Up frame when Hit is empty. Each placed button keeps its own hover and pressed state, so buttons respond independently.
Graphic symbol playback: Loop, Play Once, Single Frame, and both reverse modes, with first and last frame, stay synced to the parent timeline.
Frame sounds: MP3, WAV, and FLAC sounds placed on frames play as audio events.
Bitmaps and symbols: bitmap fills keep their transform, bitmaps keep smoothing on or off, and instance alpha and 9-slice scaling carry over.
Animation: classic, motion, and shape tweens, frame-by-frame animation, custom eases, tween rotation, motion guides with orient to path, and IK bones and poses.
Everything else: shapes and primitives, gradients, dashed and dotted strokes, guide and folder layers, layer parenting, and static, dynamic, and input text. Font names carry over, with Inter embedded as the default font.
๐ฑ๏ธ Mouse wheel and trackpad scrolling: scroll views built with a Scroll constraint now scroll with a mouse wheel or trackpad, not only a pointer drag. A horizontal strip inside a vertical list scrolls the right way, and a flick that starts in the inner view stays there. Turn off Wheel / Trackpad in the Scroll constraint's options to keep one drag-only. Works in the editor, on share links, and in the web and Flutter runtimes; the iOS and Android runtimes don't support it yet.
๐ฒ๏ธ Right-click and middle-click listeners: a listener set to Pointer Down, Pointer Up, Click, or Pointer Drag now has a second dropdown to pick Primary Button, Secondary Button, or Middle Button. While a state machine plays in the editor, right-click still pans and opens menus everywhere except over a listener that wants it. Runtimes that predate this ignore these listeners instead of firing them on a left click. As requested here.
๐ฎ More controllers on Windows: PlayStation, Switch Pro, and most generic controllers now work in the Windows editor. Before, only Xbox-style controllers were detected on Windows.
๐ MCP connections: the editor's MCP server now runs on Rive's own MCP stack, which fixes the connection problems some of you had.
๐ Grid and Stack in the Hierarchy: an unnamed layout set to Grid or Stack now shows that name and icon in the Hierarchy, like Row and Column already did.
โจ๏ธ Tab between linked fields: in a linked pair like Scale, typing in the first field and pressing Tab now updates the second field. Before, it kept showing its old number until you reselected the object.
โฉ๏ธ Undo after drawing a layout: undoing right after drawing a Layout, Row, or Column now removes all of it. Before, part of it stayed behind.
๐ Text Runs from library view models: binding a list of items from a library view model to a text's Text Runs now fills in their style and content. Before, the runs were created empty. In files that already had this binding, the runs fill in once the list changes or you reopen the file.
๐ข Numbers bound to dropdown properties: binding a number to a property like a Component's Fit, a text's Wrap, or a layout's Display no longer breaks playback when the number is out of range. It falls back to the first option, like the runtimes.
โ๏ธ Trim Path strokes: a trimmed stroke on a path where a straight vertex meets a curved one (an arm at the shoulder, for example) no longer breaks into a fan of lines, a detached cap, or missing segments at some poses. Dash Effect gets the same fix.
๐ค Fit Font Size with huge sizes: a text set to Fit Font Size no longer hangs the editor when its font size is infinite or extremely large, for example from a data-bound formula.
๐ ๏ธ Crash fixes: stopping playback with a focused Text Input inside a Component (as reported here), and choosing an artboard with no timeline in Share or Publish. Those artboards are now listed as Needs a timeline, since the thumbnail comes from a timeline.
๐ช Windows startup and exit: the editor no longer quits without showing a window when a Chinese or Japanese input method is the default (as reported here). Closing the editor right after launch no longer leaves Rive running in the background, which blocked opening it again until you ended the task.
Early Access
โญ Inner and outer strokes: Stroke Options has a new Position dropdown: Inside, Center, or Outside. Only the Rive Renderer draws inside and outside strokes so far; other renderers and older runtimes draw them centered. As requested here.
Scripting
๐จ Draw into Rive's render target: context:gpuTarget() returns the target Rive draws into, so a script's GPU pass can draw straight into it, under all Rive content. Before, a script drew its passes into its own GPU Canvas first. The target can't be sampled and starts each frame empty, so the first pass must clear or cover it. Where a host can't expose its target (WebGL, for now), context:gpuTarget() returns nil, so keep a GPU Canvas as the fallback.
๐ Pointer event types: event.type in a Node script's pointerDown, pointerMove, pointerUp, and pointerExit now reports the real event. Before, it always read "pointerEnter".
๐ Display scale in Scripted Layouts: the scale resize receives is now the display's pixel density only. Before, it also included the editor's zoom, so a canvas sized from it grew as you zoomed in until it failed to allocate.
๐ Library scripts in pickers: script pickers no longer list each library script twice. Picking the second copy left the field showing "-".
โพ๏ธ Artboard inputs on actions and conditions: an Input<Artboard> on a scripted listener action or transition condition can no longer pick the artboard that owns it, which recursed until it crashed.
Runtime
๐ฑ๏ธ Buttons that needed two clicks: when a state or transition action writes a view model value that a transition condition reads, the state machine now sees the new value right away. Before, an Any State transition on the old value could win, so a button could take a second click to respond.
๐ Color emoji gradients: gradient layers in color emoji (like Android's system emoji) now draw in color instead of solid black.
๐ฆด Bone-bound shape fills: small curved paths bound to bones keep the right fill direction when the bones mirror, and the editor and runtimes now agree at any size.
Renderer and Performance
โก Idle state machines: state machines that have settled stop re-checking work that can't change. An idle scene with a 400-row list drops from 208 ยตs to 44 ยตs per frame (79% less).
๐ฑ Mali GPUs on Vulkan: fixes a device loss on Mali GPUs (like the Mali-G715 in the Pixel 8) with the Vulkan backend, and landscape Android apps on Vulkan no longer draw stretched.