apply shadow mask to sprite ?

BlitzMax Forums/BlitzMax Beginners Area/apply shadow mask to sprite ?

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.

Then you need to show some example code as that is wrong.
Graphics 800 , 600
Local image1:timage = LoadImage("max.png")
SetClsColor 0,0,255
While Not KeyHit(KEY_ESCAPE)
	Cls
	SetColor 255 , 255 , 255
	SetAlpha 1.0
	SetBlend maskblend
	DrawImage image1 , MouseX() , MouseY() 
        setcolor 255,0,0
	SetBlend alphablend
	SetAlpha 0.6
	DrawRect 100 , 100 , 100 , 100
	Flip
Wend