INVERTBLEND is it usefull for 2D game ?

BlitzMax Forums/BlitzMax Beginners Area/INVERTBLEND is it usefull for 2D game ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

here is an example .
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