Page 1 of 1

Spritebatch color?

Posted: Fri Nov 12, 2010 11:32 pm
by Taehl
Apparently love.graphics.setColor doesn't affect spritebatches, so, how can I draw a spritebatch as semitransparent?

Re: Spritebatch color?

Posted: Sat Nov 13, 2010 2:30 am
by ninwa
Would an acceptable solution be to have the original images be transparent?

Re: Spritebatch color?

Posted: Sat Nov 13, 2010 2:32 am
by TechnoCat
ninwa wrote:Would an acceptable solution be to have the original images be transparent?
workaround at best.

Re: Spritebatch color?

Posted: Sat Nov 13, 2010 2:34 am
by ninwa
TechnoCat wrote:
ninwa wrote:Would an acceptable solution be to have the original images be transparent?
workaround at best.
Sure. I would probably suggest just baking your own quick spriteBatch equivalent. It may not be equivalent within LOVE, but it'll work just as well, with the added bonus of being able to control transparency.

Re: Spritebatch color?

Posted: Sat Nov 13, 2010 2:49 am
by Taehl
Not a bad idea, ninwa, but that means I'd have to have two copies of a very large number of graphics, so, no, not really. But thanks for chipping in.

Re: Spritebatch color?

Posted: Sat Nov 13, 2010 6:31 am
by bmelts
Old news.

It's been fixed for a while now; the 0.7.0 beta has the fix, for example.