Can't seem to change image font color -- 0.72
Posted: Sat Sep 17, 2011 7:02 pm
Hi guys. I am having a problem with image fonts. the font works just fine, but it only shows up in one color (the color that's in the image).
Here's the code:
I've tried both colormodes...
here is default here is replace I'm not sure what I'm doing wrong.
Here's the code:
Code: Select all
love.graphics.setFont(font.cards) -- this is an image font
love.graphics.setColor(255,255,255,255) -- white
love.graphics.print("234", 200, 208)
love.graphics.setColor(255,0,0,255) -- red
love.graphics.print("567", 200, 240)
love.graphics.setFont(font.medium) -- this is a plain ttf
love.graphics.print("normal text", 200,275)
here is default here is replace I'm not sure what I'm doing wrong.