.PNG and Images

Blitz3D Forums/Blitz3D Programming/.PNG and Images

Hello.

I'm switching to 2D commands for a new project after pretty much exclusively using 3D for my last game.

When I try loading a .png image (with an alpha layer) and then try to draw it on the screen it only accepts it as a maxed image, the alpha layer appears to be ignored. I have searched all through the image commands but I seem to be unable to find a command that will use the alpha layer (not masked!!) for the image when drawn.

Any help would be greatly appreciated.

Alpha transparency isn't supported by the 2D commands. You can do masked transparency (where one color is defined as transparent,) or you can switch to a 2D-in-3D system.

I guess that would explain it.

Hmmm... this will make things a bit trickier. I suppose I'll have to just make due.