How can I set the text color ?

Blitz3D Forums/Blitz3D Beginners Area/How can I set the text color ?

Psycoach(Posted 2003) [#1]
I read that I shouldn't use PRINT to write text, but TEXT.

The trouble is, it always write in white : how can I change the color TEXT uses ?


Kevin_(Posted 2003) [#2]
just use a color command before it.

i.e. color 255,0,0 : Text 10,10,"Hello"

will display the word 'Hello' in red.

The three values after the color command represent the
seperate red, green & blue values which make up a specific
colour so 'color 0,255,0' would be green.

Hope that helps

Regards


Psycoach(Posted 2003) [#3]
Thanks, Prof !

That's exactly what I needed ! :-)


c h i e f y(Posted 2003) [#4]
try Dr. Av's BB colour picker

Dr Av has taken all the pain out of color 0,255,0 and put it all straight into your IDE :-)