I’m stuck on the data binding architecture for an interactive quiz UI.
Hi everyone i am new here,
I’m building an interactive quiz in the latest Rive Beta using Components, View Models, Data Binding, and State Machines, and I’m stuck on the architecture.
My setup is:
* A parent Quiz Screen
* A reusable QuizBook component (4 instances)
* A Guide character that gives feedback
The desired flow is:
1. User taps a QuizBook.
2. The QuizBook plays its own press animation.
3. The parent Quiz Manager checks whether the selected answer is correct.
4. If correct, the Guide plays a success animation and the quiz continues.
5. If wrong, the Guide plays a “try again” animation and the user can select another answer.
My questions are:
* What is the recommended Data Binding architecture for this in the latest Rive Beta?
* Should the QuizBook component have its own View Model and State Machine?
* How should the parent know which QuizBook was selected?
* Should the Guide listen to the parent View Model or directly to the QuizBook?
* What’s the cleanest way to connect these components without using the legacy State Machine Inputs?
I’d really appreciate guidance or an example of how you’d structure this in the current Rive Beta workflow.