|
Post by UNDISCLOSED on Apr 11, 2009 4:39:48 GMT -5
I have been trying to use some sprites in PNG format, but if they have any semi-transparent pixels they dont show, Why is this? One of the offending graphics: The shadow is transparent, and it does not show, no matter what color the Background is, but when do SprSetSolid(TRUE) it shows up, but the graphics are badly corrupted! Here is another offender: EDIT: It only seems to hapen when the some of the pixels around the outside are transparent.
|
|
|
Post by Darkjester on Apr 11, 2009 11:14:17 GMT -5
its most likely your image, do you have a proper alpha channel?
|
|
|
Post by matthew on Apr 11, 2009 13:49:36 GMT -5
i've just checked the size of your image & it's 51 x 14 pixels, that's probably why transparency isn't showing correctly, try changing the dimensions of it to 'powers of two'
|
|
|
Post by UNDISCLOSED on Apr 12, 2009 5:29:57 GMT -5
I resized the first Image and nothing, its 170x150 (170/2 = 85, 150/2 = 50)
EDIT: I just tried using 256x256 and it worked fine.
|
|