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 ?
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 ?