Rive Scripting Syllabus
23 Lessons · AI-Powered · Build a complete space adventure
Intro to Scripting
- Rive scripting fundamentals
- The Scripts panel
- The three script types: Node, Path Effect, Converter
- Creating your first script
- Script editor essentials
Working with the AI Agent
- Rive's built-in AI agent
- Agent model selection
- Ask mode
- Prompt iteration & best practices
- Reference images for context
- Code review & modification
- The Console panel
Node Scripts
- Node script fundamentals
- Particle systems (stars, planets, asteroids)
- Gravity & motion
- Spawning components at intervals
Path Effect Scripts
- Setting up Path Effects in Rive
- Glow effects (sun)
- Distortion effects (nebula, fog)
- Dynamic effects driven by inputs
- Seed input for variation
Converter Scripts
- Input → output value mapping
- Converter Groups
- Smoothing effects via Converter scripts
Script Inputs
- Inputs vs fixed script values
- Number, Boolean & Range types
- Live tweaking from the Inspector
- Artboard inputs for component spawning
Responsive Scripts
- Width & height-aware scripts
- Adapting to artboard size
- Live resize behavior
Animation & State Machines
- Parallax through scripting
- Depth-based size, speed & brightness
- 3D-style animations
- Follow Path & Translation Constraints
- Trim Path
Data Binding with Scripts
- Script inputs bound to View Models
- One input driving multiple animations
- Target-to-Source artboard binding
- Multi-script systems via shared data
Interactivity
- Align elements to mouse position
- Cursor-responsive scripts
- Hover & click reactions
Syntax (bonus)
- Variables vs Inputs
- Functions
- Understanding the different script types
- late() for artboard inputs
- Init for Default values