Author Topic: Animate gradient on labels?  (Read 5279 times)

Nerosam

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 21
    • View Profile
Animate gradient on labels?
« on: December 15, 2013, 10:18:42 AM »
Is it possible to animate the gradient on lables? All I see in animation panel are private variables (MGradient Bottom, etc) which do not seem to work via animation.

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Animate gradient on labels?
« Reply #1 on: December 15, 2013, 10:59:42 AM »
You need to use intermediate scripts such as AnimatedAlpha and AnimatedColor.

Nerosam

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 21
    • View Profile
Re: Animate gradient on labels?
« Reply #2 on: December 28, 2013, 09:57:18 AM »
Animated color only animates the color on the widget which has no effect on the gradient. Im guessing I will need some kind of intermediate script which accesses the gradient values?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Animate gradient on labels?
« Reply #3 on: December 28, 2013, 04:25:06 PM »
Yup. Something similar. AnimatedColor is a tiny script. Copy/paste it, rename it, and make it adjust the gradient colors instead.