Triggering emotion through logic — building an interactive quiz game in Rive
I recently built a small interactive quiz game entirely inside Rive, where the character reacts emotionally to the player’s answers in real time.
Each scenario includes 5 timelines — Idle, Happy, Sad, Win, and Lose — all connected through a State Machine and activated via input triggers.
Here’s the logic:
Correct answers → trigger Happy
Wrong answers → trigger Sad and reduce a life
End of the game → trigger Win or Lose
Every response from the user instantly drives animation changes, creating a dynamic feedback loop between logic and motion.