Drawing pixmaps

BlitzMax Forums/BlitzMax Beginners Area/Drawing pixmaps

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.

I just decided to get into bmax after owning it since its debut.

ive come across somthing i cant seem to find an answer for in the help file.

Is there a way to draw a pixmap to the buffer with a mask ? ive tried

SetBlend MaskBlend
DrawPixmap (spritepm.window(0,0,32,32),x,y)

ive also tried running though the pixmap and setting all values of color 0,0,0 with writepixel putting an alpha value of 0 in there. Its drawing the pixmap as a block regardless.

Do I have to copy the pixmap to an image to use masking ?