HSL layer background color action

Discussion and feedback on Construct 2

Post » Wed Sep 23, 2015 6:36 pm

It would be great to have an action to set the "layer background colors" in HSL values.
This would allow to create procedural colors in a much more intuitive way, and with better results.
@Ashley there's any technical issue that prevent this to be implemented? Thx

Other solution would be generating the random/procedural HSL values, and then convert them to RGB , but I can't find a conversion formula that works for me.
B
36
S
11
G
9
Posts: 399
Reputation: 10,283

Post » Sat Sep 26, 2015 5:57 am

Maybe this will help: http://stackoverflow.com/questions/2353 ... conversion

I used javascript to generate xml for rgb to cmyk, put it into an xml file to create this game in C2: http://www.kongregate.com/games/indieki ... lime-quest
B
32
S
6
G
2
Posts: 317
Reputation: 2,801

Post » Sat Sep 26, 2015 6:11 pm

IndieKiwi wrote:Maybe this will help: http://stackoverflow.com/questions/2353 ... conversion

I used javascript to generate xml for rgb to cmyk, put it into an xml file to create this game in C2: http://www.kongregate.com/games/indieki ... lime-quest


Nice, thanks for the info.
B
36
S
11
G
9
Posts: 399
Reputation: 10,283


Return to Construct 2 General

Who is online

Users browsing this forum: Lorvin and 4 guests