playMaker

Author Topic: fade material colors  (Read 2485 times)

peaks

  • Playmaker Newbie
  • *
  • Posts: 27
fade material colors
« on: November 01, 2013, 10:03:22 AM »
hey everyone!

I watched the playmaker tutorial for the color-change, works perfect. But I'm searching for an solution to fade the material colors.

cube1 collide with cube2 -> after 2 sec cube2's material-color faded from color1 to color2.

any solution?

Yanifska

  • Full Member
  • ***
  • Posts: 163
    • My Portfolio
Re: fade material colors
« Reply #1 on: November 01, 2013, 06:54:51 PM »
Hi,
you should check iTweenFadeTo action it has a color component, I never used it though....Hope it can help you
Visit my portfolio: http://www.yanivcahoua.com/

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: fade material colors
« Reply #2 on: November 04, 2013, 01:38:24 AM »
Hi,

 HOTween lets you tween FsmColors:

http://hutonggames.com/playmakerforum/index.php?topic=2299.msg10104#msg10104

also, I created recently a HSV color set of actions, you may actually prefer fading between two colors using HSV values instead of rgb.

https://hutonggames.fogbugz.com/default.asp?W1145

bye,

 Jean