Hey,
I'm working on a very basic 2d fighting game based off of a friends web comic. I'm using bitmaps and using Irrlicht's color key texture call to make one color transparent. But the problem is, Irrlicht is not only making that color transparent but all black colors transparent as well. Also the textures that I load are very pixelated as though they have been resized-- though they have not been. I think it has something to do with my bitmaps because I can load the 2ddemo.bmp from Irrlicht's media file just fine using my code. Appreciate any help on this, thanks.
2d bmp color key issues
Thanks.
I actually figured that out after a little playing around. As for the transparency problem I found out it was because I was loading and making a color key texture of the same image file twice. So basically I was turning the intended transparent color black then making black the transparent color. This meant that all the black in my image was transparent.
I'm writing a sprite manager for my game to prevent any image file being loaded twice.
I actually figured that out after a little playing around. As for the transparency problem I found out it was because I was loading and making a color key texture of the same image file twice. So basically I was turning the intended transparent color black then making black the transparent color. This meant that all the black in my image was transparent.
I'm writing a sprite manager for my game to prevent any image file being loaded twice.