Tint function and sequencing in EZ Tween
Tint and Blend Modes
Tint is the color you apply during an animation, paired with a blend mode. Blend modes are like those in Photoshop (multiply, screen, add) and others such as average. For most cases, focus on add, screen, multiply, or average.
Applying Tint with EZ Tween to a Parent
The effect is applied to the parent game object so it affects all its children.
First Tween: Target, Color, and Timing
- Target: the pet rescue small tool tip UI element.
- Property: tint (not position or other properties).
- Duration: seconds.
- Delay: seconds.
- Start from a chosen color and tween to the color #eff226 (bright yellow).
- Strength: (strong brightness).
- Blend mode: add (other common options: average, darken, multiply, screen).
Second Tween: Delay and Reversion
- Color end state is the same; but Strength: , Delay: seconds.
- This makes the two parts: brighten over s, then return to normal over the next s.
Sequence and Timing
- The two tweens create a sequence (timeline) for the parent and its children.
- Total length: seconds (first s bright, next s back to normal).
Looping
- Loop count adds extra plays beyond the initial run.
- If loop = , total plays = .
- If loop = , total plays = .
- In general: total plays = , where is the loop count.
- Example: L = → 2 plays; L = → 3 plays.
Quick takeaway
- Use two tweens with a delay to create a brightening-then-dimming sequence.
- Apply to the parent to affect all children.
- Choose a blend mode (add, screen, multiply, average) to shape the look.