I tried creating a png image with an alpha layer and it seemed as if bmax ignored it. Is there a certain method for getting bmax to recognise/load it ?
Does ALPHA work in PNG images ?
BlitzMax Forums/BlitzMax Programming/Does ALPHA work in PNG images ? If you loaded as pixmap: did you use the right format? ( one of those that support alpha )

I didn't load as a pixmap, I'll take a look at that.
Pixmaps dont work for this (I just tried), besides they are of no use if you wanted to use an image with alpha, in a game.
I tried creating a png image with an alpha layer and it seemed as if bmax ignored it. Is there a certain method for getting bmax to recognise/load it?
You might need to set the correct blend mode like this:
SetBlend( ALPHABLEND )
That is a correct alpha layer. I didn't realise you had to set a global blend mode. Added SetBlend(ALPHABLEND) and it worked fine. Nice one :)