[PLUGIN] HSBtoRGB

Post and try out addons that are currently in development.

Post » Sun Oct 09, 2011 12:56 am

Hi all. Thanks to Yann I'm finally also doing plugins and have managed to realise something that I have felt the need for for a long time...



It's super-basic. What it does is take the human-friendly values of Hue, Saturation and Brightness and turn them into computer-friendly values or Red, Green and Blue.

And then you do things like this:



Easy as pie:



It has no actions, no parameters for edit time - all it does is convert your HSB values into the RGB type that Construct Classic likes. So you can use it wherever that is welcome, like, say, right clicking on sprite filter colour dialogue and picking "Use Expression".

Here is the plugin. And here is a quick example.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Sun Oct 09, 2011 1:27 am

All kinds of neat stuff you can do with lighting, o0 even gradients.
Grats again.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Sun Oct 09, 2011 11:16 am

Thanks, newt. I have made a slightly more complex example, which adjusts the values over time and does some little tricks as well. I tried to comment most things so it should be pretty straight forward.



Grab it here.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Thu May 31, 2012 8:49 pm

Awesome plugin thanks :)
B
24
S
4
G
2
Posts: 318
Reputation: 2,446

Post » Fri Jun 01, 2012 7:56 am

i never saw this thread! cool plugin!
B
59
S
7
G
2
Posts: 93
Reputation: 4,228


Return to Work-in-progress addons

Who is online

Users browsing this forum: No registered users and 0 guests