rive-flutter
rive-flutter copied to clipboard
Suggestion: Enable asset swapping runtime.
This tool would be really useful. For instance, if a character is customizable it will allow using a single bone animation with the image asset (the one attached to the bone) chosen/swapped runtime.
Thanks for the suggestion; we'll add this to our ideas list.
At the moment we don't have support for raster images in Rive 2 or the runtime, but that's planned for the future.
@mjohnsullivan is there a workaround for now? I'm only looking to swap the animated SVG with another during runtime (no raster images here)
We convert SVG images to Rive's format when adding to an animation; the animation itself doesn't currently have the concept of assets. Currently you'll need to add all the SVGs to the animation and handle swapping them at runtime.
Assets support is on our todo list, but I don't have a timeline for that yet.
Now that asset support is available, could this feature request be brought back into attention? I would love to have this
Yes please we need this feature for game characters so that we are able to swap it live with for cosmetic changes