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: 33 seconds.
  • Delay: 00 seconds.
  • Start from a chosen color and tween to the color #eff226 (bright yellow).
  • Strength: 33 (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: 00, Delay: 33 seconds.
  • This makes the two parts: brighten over 33s, then return to normal over the next 33s.

Sequence and Timing

  • The two tweens create a sequence (timeline) for the parent and its children.
  • Total length: 66 seconds (first 33s bright, next 33s back to normal).

Looping

  • Loop count adds extra plays beyond the initial run.
  • If loop = 11, total plays = 22.
  • If loop = 22, total plays = 33.
  • In general: total plays = 1+L1 + L, where LL is the loop count.
  • Example: L = 11 → 2 plays; L = 22 → 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.