All the logic is encapsulated within the Rive State Machine. The frontend code stays clean, it simply passes numeric input trigger "Rooms" to drive the transitions and State Machine handle the rest. No complex animation code required in the app.
4 likes 0 replies
?