Hey all,
I'm trying to make a small 2d game and I'm wondering how you would go about to load a png-image with an alpha channel and keep it's alpha values?
I have confirmed the images alpha channel but when i load it in pygame it's alpha values are always 255.
I've tried Surface.convert_alpha but that doesn't make a difference.
At the moment I've resorted to saving my alpha channels separate and loading both image and alpha channel so that i can call Surface.set_at to change the image's per pixel alpha value.
But that solution seems less than optimal so i figured i would ask you guys.
regards
Björn
ps. I apologize if this topic has been discussed at length already but i've been looking around and i just can't seem to find a simple solution. ds.
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
Try it!