Expressions
Expressions
Expressions are the small formulas you write inside .cade config attributes — condition, points, formula, and friends — to make values depend on live game state. Start with Writing Expressions for where they appear, the namespaces you can reference, and how the integer-first arithmetic behaves.
From there, two expression-system features go further:
- The Noise Generator provides deterministic, high-quality random numbers for natural variation in your scoring.
- Runtime Bindings let features such as synth triggers resolve a value from a literal, an event property, or a full expression at trigger time.
For the complete operator, comparison, and math-function reference used inside expressions, see Console Expressions.
- Writing Expressions
Where expressions appear, the namespaces you can reference, and how integer-first arithmetic behaves.
- Noise Generator
Deterministic, high-quality random numbers for natural variation that still replays exactly.
- Runtime Bindings
Let a configured value be a literal, an event property, or a full expression — resolved at trigger time.