Main Menu

Overlay Hud

Started by Birdron, May 13, 2014, 11:10:59 PM

Previous topic - Next topic

Birdron

Hi,
   I m rendering some images as hud, which is transparent hud. A circle with a whole in it. I m using both overlay and blit to see what is the difference. Jpct removes black pixels to make images transparent. Is there any method that loads transparent png files? Because using black pixels as transparency makes the image edges look very odd unless it is totally pixel drawing.

Thank you.

EgonOlsen

Yes. Just use the Texture-constructor that takes a boolean in addition and set it to true.

Birdron