Search found 17 matches

by chris-kun
Tue Feb 08, 2011 6:19 pm
Forum: Support and Development
Topic: Newbie Color Question
Replies: 35
Views: 14121

Re: Newbie Color Question

sorry the other forum I frequent likes links :P. good to know, and edited my above message.
by chris-kun
Tue Feb 08, 2011 6:09 pm
Forum: Support and Development
Topic: Newbie Color Question
Replies: 35
Views: 14121

Re: Newbie Color Question

2011-02-07-220630_1024x768_scrot.png
2011-02-07-220630_1024x768_scrot.png (121.94 KiB) Viewed 2874 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.
by chris-kun
Tue Feb 08, 2011 5:39 pm
Forum: Support and Development
Topic: Newbie Color Question
Replies: 35
Views: 14121

Re: Newbie Color Question

where am I putting the reset to white? I put it in a bunch of places but still seeing color differences. function love.draw() love.graphics.setColor(255,255,255) love.graphics.setColor(pc) love.graphics.line(paddle[2].x1, paddle[2].y1, paddle[2].x2, paddle[2].y2) love.graphics.setColor(255,255,255) ...
by chris-kun
Tue Feb 08, 2011 7:56 am
Forum: Support and Development
Topic: Newbie Color Question
Replies: 35
Views: 14121

Re: Newbie Color Question

that's what I had before, but it doesn't seem to change at all. I think 255 is the default so I just took it off. decreasing it definitely makes a difference, but putting 255 and putting nothing seem to be equivalent.

is it normal on everyone else's computer? :/
by chris-kun
Tue Feb 08, 2011 12:10 am
Forum: Support and Development
Topic: Newbie Color Question
Replies: 35
Views: 14121

Re: Newbie Color Question

I was only posting the relevant parts. My point is if I use images instead of the code above, everything's cool, but the code above produces washed out colors even though it should be the same as their image equivalents.
by chris-kun
Mon Feb 07, 2011 11:53 pm
Forum: Support and Development
Topic: Newbie Color Question
Replies: 35
Views: 14121

Re: Newbie Color Question

Code: Select all

function love.load()
  ......
  pc={122,150,191}
  love.graphics.setColorMode("replace")
  love.graphics.setBackgroundColor(51,51,51)
end

Code: Select all

function love.draw()
  love.graphics.setColor(pc)
  love.graphics.line(paddle[2].x, paddle[2].y, paddle[2].x, paddle[2].y+92)
end
by chris-kun
Mon Feb 07, 2011 11:47 pm
Forum: Support and Development
Topic: Newbie Color Question
Replies: 35
Views: 14121

Newbie Color Question

When I load images, everything seems ok, but when I tell love to draw images, they all seem washed out, like the alpha has been lowered or something. any idea why this might be happening?