Rive 101 logoRive 101
About📋 Changelog
0%
Progress0/88
6.3

Layers

1m 25sPartial+1 changes
Rive 101 - State Machine Layers

The primary teaching objective of this course is to thoroughly master the parallel layer architecture (State Machine Layers) and multi-track interaction design paradigms within Rive.

In legacy animation or game UI pipelines, if different visual components exhibit unique cycles or time frequencies (such as a character's constant walk cycle versus a sporadic blinking cadence), designers are typically forced to bake them into a single timeline by calculating a massive least common multiple. This leads to rigid keyframe management and wasted file weight. Rive resolves this friction by introducing isolated runtime layers. Each layer establishes its own logic entryway graph, enabling independent multi-track timelines to run concurrently and asynchronously without locking one another, unleashing creative freedom for complex multi-state UI elements.

  • Asynchronous Multithreading Essence of Layers: State Machine Layers function as separate logical threads running in parallel within a singular runtime instance. Every track encapsulates its own isolated Entry, Any State, and Exit nodal mechanics, consuming global Inputs uniformly while advancing timelines independently.
  • Property Overwrite & Mixing Matrix: When multiple tracks run concurrently, they operate completely cleanly if they govern distinct vector fields (e.g., Track 1 driving Object A's position, Track 2 driving Object B's rotation). However, if keyframe tracks compete for the exact same target property vector, the track positioned lower in the layer stack order (rendered on top) takes execution override priority.
  • Optimizing Complex Asset Footprints: Separating micro-interactions (like secondary character breathing, clothing sways, or button glow particles) from macro structural states (like core locomotion loops or menu exits) prevents timeline bloating. This decoupling ensures your motion system remains modular and highly performant, directly trimming down the final exported .riv binary package footprint.
Some content differs from current version1 changes
2025.2Disable layers

Disable individual SM layers.