Cookie cut masking

BlitzMax Forums/BlitzMax Programming/Cookie cut masking

Does anyone know how to do a cookie cut/stencil mask when drawing using max2d module?

If Shagwana ever comes back to IRC I think he did something in the early days of Bmax.

One way is to draw background, draw sprites, then draw foreground.