here is an example .
But I wonder if it is really usefull for game coding.
But I wonder if it is really usefull for game coding.
Strict Graphics 800,600,0 SetClsColor 105,0,200 While Not KeyHit(KEY_ESCAPE) Cls SetBlend SOLIDBLEND SetColor 255,255,255 DrawRect 100,100,100,100 SetColor 255,255,0 DrawRect 205,100,100,100 SetColor 0,0,255 DrawRect 100,205,100,100 SetColor 0,255,0 DrawRect 205,205,100,100 '--------------------------- SetBlend INVERTBLEND SetColor 255,255,255 DrawRect 150,150,100,100 '--------------------------- Flip Wend