Opening a chest with 2 drawings
This is my favorite animation trick, so I made a tutorial on it: a chest that opens with only 2 drawings, closed and open, swapped in a single frame. The motion around the swap hides it.
The short version:
Both chests sit in one Solo group, and the Solo key is the whole "open".
The Origin goes to the bottom of the chest, so it squashes into the floor and tilts on its base.
Squash to X 115 / Y 85, then back with Elastic. The Elastic overshoot is the stretch, so it needs no extra keyframe.
A shake that builds up before it, and the swap happens while the shake is settling, not after it.
Tutorial: https://youtu.be/OKhHsd0y8Q4
Written version: https://www.rivemasterclass.com/blog/rive-treasure-chest-squash-and-stretch
Free starter file: https://www.rivemasterclass.com/free-lesson-file/treasure-chest
The tap, the State Machine and the Data Binding color in the finished file are what I teach in my Rive Masterclass: https://www.rivemasterclass.com