Quote from: rmaraujo on Sun 07/08/2005 19:49:52
After importing a Sprite (32 bits color, TGA or PNG format) with transparent background, it is shown with a strange background inside AGS (grey or brown stripes). The same background appear in the inventory GUI inside the game. However, when used as a cursor or as a view of a character, it has no problem!
I made the picture in Photoshop, keeping a default-transparent background and saved as TGA (tried PNG as well). The problem seems to be with showing the item inside inventory GUIs only (and inside AGS editor, but that's not a problem).
I've put a screenshot here:
http://www.dotdotdot.com.br/temp/sprite_problem.jpg
Look at the "bunny" sprite. In the inv gui it appears with the weird background (also on the inv button below), but as a cursor it is ok.
Any ideas on why this happens?
I'm experiencing the same problem. In photoshop, set your image (after it's finished) to 16bits/channel. (goto image=>mode=>...)
This solves the problem somewhat, but you'll still have edge artifacts. (though very little in compared to what it was before)
after a little more tweaking with the image in photoshop (use eraser on those areas which still display artifacts) it'll actually look quite nice.
here's an example of my inventory after going to 16bits/channel:

not perfect, but close.