setcolor

BlitzMax Forums/BlitzMax Beginners Area/setcolor

supermeerkat(Posted 2005) [#1]
Hi Guys

I have used the setcolor command to change the color of some images using drawimage. I know that this will affect all subsequent images being draw.

My problem is how do I reset the color, so that all subsequent images are drawn with their default colors in place?

Thanks


altitudems(Posted 2005) [#2]
SetColor 255,255,255


supermeerkat(Posted 2005) [#3]
Ta very much for that, mate!


ImaginaryHuman(Posted 2005) [#4]
Even when your color is white, it is still doing some kind of `combination` with the colors of your image graphic. It's just that the values 255, 255, 255 happen to end up producing the same colors it started with. It's only when the values are less than 255 that you start to see your image having more of a `tint` or, in other words, a scaling down of each color component.