Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: jeanfabre on October 28, 2013, 08:37:30 AM

Title: Color custom actions, HSV based
Post by: jeanfabre on October 28, 2013, 08:37:30 AM
Hi,

 Following a very interesting session, I created several color actions to work with colors. They handle color as HSV values, which means a lot more intuitive controls.

Typically, it's very difficult to change a color brightness with rgb, but here, you simply get a color and save it as a HSV color edit the "Saturation" property and get the resulting color back into rgb. These actions work everyframe is wanted to that it can be animated as well ( for exampel cycling trhough all colors, by simply animating the "Hue" value.

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

 Bye,

 Jean
Title: Re: Color custom actions, HSV based
Post by: Lane on October 28, 2013, 09:31:30 AM
Way to go, Jean!

I was messing around with changing colors like this with gui sliders but having a really hard time manipulating the color variables, this made it easy.

Webplayer (http://dl.dropboxusercontent.com/u/38606641/Oomph/Desktop.html) where you can now adjust the thruster colors with a gui slider in Oomph.
Title: Re: Color custom actions, HSV based
Post by: jeanfabre on October 29, 2013, 02:34:32 AM
Hi,

 All credits go to Eric5h5, the Unity semi god guru, and Magnus from http://www.tumblehead.com/ who I created these actions for.

Bye,

 Jean