extension-rive icon indicating copy to clipboard operation
extension-rive copied to clipboard

Data Bindings: add support for Lists, Images, and Artboards

Open kevireilly opened this issue 6 months ago • 2 comments

There has been a relatively significant expansion of Rive’s Data Bindings functionality to include Lists, Images, and Artboards. For more information, see their blog post.

Related to #176 and possibly #58

kevireilly avatar Aug 29 '25 04:08 kevireilly

Lists and images are supported in the 7.3.0 release, by this PR https://github.com/defold/extension-rive/pull/202

JCash avatar Sep 05 '25 13:09 JCash

Works great, thanks very much. There might be an issue with the default state of view models not being produced when an instance is created. This may or may not be related to autobinding. Attached is the following small modifications to the Lists/Images web example example above:

  • Opened assets/scrolllist.rev (scrolllist-default.rev in the attachment)
  • On the Data tab > MainVM > Add [10] list item[s]
  • Export as scrolllist-web.riv in the web directory (or adjust index.mjs to refer to new filename)
  • Statically host the web build and open rive.html
  • Expected web result: there are 10 list items
  • Actual defold result: there are not 10 list items

RiveScrollList-default-state.zip

kevireilly avatar Sep 12 '25 13:09 kevireilly