Newbie Color Question

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Newbie Color Question

Post by nevon »

chris-kun wrote:where am I putting the reset to white?
Right before you draw whatever it is that you don't want to have a tint. Do you think you could screenshot what it is you're doing?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Newbie Color Question

Post by Robin »

I'm not sure what you mean. Is the screen shot below the same color as the line on your computer?

I made it by setting the background colour to the colour you used. It looks perfectly fine to me anyway.
Attachments
washed-out.png
washed-out.png (24.03 KiB) Viewed 3036 times
Help us help you: attach a .love.
User avatar
chris-kun
Prole
Posts: 17
Joined: Mon Feb 07, 2011 4:57 am
Location: SF Bay Area
Contact:

Re: Newbie Color Question

Post by chris-kun »

2011-02-07-220630_1024x768_scrot.png
2011-02-07-220630_1024x768_scrot.png (121.94 KiB) Viewed 3033 times
well here's what I see (just your simple pong :P)

I realize the difference isn't that important in this specific situation, but it was a bit more pronounced on another computer, and I don't want color issues popping up later on.
Last edited by chris-kun on Tue Feb 08, 2011 6:19 pm, edited 1 time in total.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Newbie Color Question

Post by tentus »

chris-kun wrote:well here's what I see (just your simple pong :P)

http://ompldr.org/vN2NkeQ

I realize the difference isn't that important in this specific situation, but it was a bit more pronounced on another computer, and I don't want color issues popping up later on.
I can't get that site to load, could you upload the screenshot to the forums? At the bottom of each reply page is an "Upload Attachment" tab, it works great and is generally considered good netiquette (since it is unlikely we're familiar with ompldr.org).
Kurosuke needs beta testers
User avatar
chris-kun
Prole
Posts: 17
Joined: Mon Feb 07, 2011 4:57 am
Location: SF Bay Area
Contact:

Re: Newbie Color Question

Post by chris-kun »

sorry the other forum I frequent likes links :P. good to know, and edited my above message.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Newbie Color Question

Post by Robin »

I checked it out, and it is pretty much exactly the right colour (well, R and G are one off, but that's literally unnoticeable). The fact is, it's not a very bright colour. If you want a brighter colour, use (0, 0, 255) for example (that is pure blue) or just add any red or green you want -- with a black background, white (255, 255, 255) works very good, and you can't get it any brighter.
Help us help you: attach a .love.
User avatar
chris-kun
Prole
Posts: 17
Joined: Mon Feb 07, 2011 4:57 am
Location: SF Bay Area
Contact:

Re: Newbie Color Question

Post by chris-kun »

lol I don't know what screenshot you're looking at, but that is most definitely more than "1" off, and this is on a computer where it's less pronounced. why should I have to use pure blue? are you saying love can't display simple colors correctly?
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Newbie Color Question

Post by tentus »

The color you mentioned before is 7996bf in hex, but shows as 7995bf in the screenshot you show. In other words, the G value is one off. I'm a little concerned by that, as a general kind of thing, but its not a huge problem, just an annoyance.

Here's an idea... add the alpha value to your pc table.

Code: Select all

{121, 150, 191, 255} 
That'll ensure your not having transparency issues.

Edit: EMB already suggested that, I overlooked that. Could you repost your code in its entirety, so we all know where you are at this point?
Kurosuke needs beta testers
User avatar
chris-kun
Prole
Posts: 17
Joined: Mon Feb 07, 2011 4:57 am
Location: SF Bay Area
Contact:

Re: Newbie Color Question

Post by chris-kun »

already tried that, and as discussed above 255 is the default value used if none is presented.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Newbie Color Question

Post by Robin »

chris-kun wrote:lol I don't know what screenshot you're looking at, but that is most definitely more than "1" off, and this is on a computer where it's less pronounced. why should I have to use pure blue? are you saying love can't display simple colors correctly?
Does my screen shot look off to you to?

For me, those two are exactly the same colour.

tentus: 1 bit difference is not something you can see as a human.
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests