How can I set the text color ?
Blitz3D Forums/Blitz3D Beginners Area/How can I set the text color ?
| ||
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 ? |
| ||
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 |
| ||
Thanks, Prof ! That's exactly what I needed ! :-) |
| ||
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 :-) |