color picker with alpha slider

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
User avatar
Nexarius
Filter Inserter
Filter Inserter
Posts: 258
Joined: Sat May 09, 2015 7:34 pm
Contact:

color picker with alpha slider

Post 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 366 times

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12259
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: color picker with alpha slider

Post 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?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
Nexarius
Filter Inserter
Filter Inserter
Posts: 258
Joined: Sat May 09, 2015 7:34 pm
Contact:

Re: color picker with alpha slider

Post 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 309 times

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2384
Joined: Fri Nov 06, 2015 7:41 pm

Re: color picker with alpha slider

Post 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.
"If Stalin had a good writeup on programming, would linking that be dangerous?"

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12259
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: color picker with alpha slider

Post by ssilk »

Thanks Nexarius! That’s what they name as “entity tinting”?

I agree to Deadlock, doesn’t look good.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Post Reply

Return to “Ideas and Suggestions”