Page 1 of 1

color picker with alpha slider

Posted: Thu Jan 14, 2021 2:42 pm
by Nexarius
I think it would be good if the color picker also had the alpha slider because it would allow for way more colors (e.g. dark red)

The alpha channel is already in the game but not accessible via the GUI (look at the video).
Left is 0% alpha, middle is normal and right is 100% alpha.
test.gif
test.gif (4.85 MiB) Viewed 368 times

Re: color picker with alpha slider

Posted: Fri Jan 15, 2021 5:20 am
by ssilk
because it would allow for way more colors (e.g. dark red)
Can you explain me: how can you create more colors, if you can control the transparency?

Re: color picker with alpha slider

Posted: Fri Jan 15, 2021 7:58 pm
by Nexarius
ssilk wrote:
Fri Jan 15, 2021 5:20 am
because it would allow for way more colors (e.g. dark red)
Can you explain me: how can you create more colors, if you can control the transparency?
Easy the alpha channel mixes the selected color with whatever color is underneath and the result is a new color. You can see that in my example: I made dark red by adjusting the alpha channel.
The "normal" red train stop with 255 red 0 blue and 0 green has an alpha value of only around 50%.

Try it out yourself. Make a blueprint of something with colors (The color had to be changed once before you blueprint it otherwise it doesn't save them in the blueprint) and adjust the values in the blueprint directly -> https://factorio.tmin10.ru/

Another example: It's currently only possible to get "real" black if you edit the blueprint directly. I think it should be possible to adjust that in the GUI too.
asd.png
asd.png (1.17 MiB) Viewed 311 times

Re: color picker with alpha slider

Posted: Fri Jan 15, 2021 8:41 pm
by Deadlock989
Nexarius wrote:
Fri Jan 15, 2021 7:58 pm
Another example: It's currently only possible to get "real" black if you edit the blueprint directly. I think it should be possible to adjust that in the GUI too.
asd.png
But it looks absolutely awful. This is why setting the alpha was removed from player colour commands. The sprite layers simply aren't designed for it and it looks like some horrible error.

Re: color picker with alpha slider

Posted: Sat Jan 16, 2021 8:14 am
by ssilk
Thanks Nexarius! That’s what they name as “entity tinting”?

I agree to Deadlock, doesn’t look good.