1st Day (Almost) Over
So I’m almost at the end of the first day, and I have a nonfunctional (I couldn’t be bothered to add controls yet) sprite on the screen. My question to all of you LDers is why is there a black border around my player sprite when it is set to transparent (ie. in Gimp)?
Comments
Polar
21. Apr 2012 · 17:55 UTC
Oh, by the way, it’s been stretched by WordPress 

Sichuan
21. Apr 2012 · 18:16 UTC
saved it as an alpha compatible format?(ie .png/.gif)
Polar
21. Apr 2012 · 19:28 UTC
I solved the problem – for some reason I forgot to use the transparency for creating my Java BufferedImage 

Datw
21. Apr 2012 · 22:19 UTC
Java has problems when saving png transparency. Had a lot of headache and lost almost a day because of that some time ago. I suggest you to choose a color (0xFF00FF?) and manually change the aplha of all the pixels that are of that color to 255 

