Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / Colouring average

Author
Message
haliop787
4
Years of Service
User Offline
Joined: 22nd Mar 2020
Playing: With reality.
Posted: 27th Jul 2020 05:19
I wonder how to do..

My app gives the user to change the apps font color.
How could i average the font color to screen ?
Meaning if something red is behind the green font color once selecting green font color it will optimize it with the red color.behind while still saving the greenish style...

Thanks for your help.
Nadav "Haliop" Rosenberg
Lets make the world great forever.
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 29th Jul 2020 04:14
not sure what you mean by "optimize" but if you want the "average color" between the text and the background, couldn't you set the text alpha to 128?
[My Itch.io Home]
[CODE lang=AGK] Your Code Here [/CODE]
[VIDEO=youtube] VideoID [/VIDEO]
haliop787
4
Years of Service
User Offline
Joined: 22nd Mar 2020
Playing: With reality.
Posted: 29th Jul 2020 06:02
Yes and no.
Because sometimes you have an orange font on a bit less orange background..
Nadav "Haliop" Rosenberg
Lets make the world great forever.

Login to post a reply

Server time is: 2024-04-24 18:49:14
Your offset time is: 2024-04-24 18:49:14