Inv Item different on Gui than in Rooms and on Cursor

Started by Ghostlady, Sat 04/04/2009 21:26:52

Previous topic - Next topic

Ghostlady

I have an inventory item that is placed in a room and it looks fine.  When it goes into the inventory, the item now has white edges.  If I select the item from inventory and hold it on the cursor, the white edges disappear.  I am a little confused over why this is happening and how it can be fixed.  See sample.  The top fishbowl is in the inventory gui.  The bottom fishbowl is on the cursor.

My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

LimpingFish

#1
It has something to do with alpha-blending (the smoothing of a sprite's edges based on it's transparent property) not being supported when used with inventory/gui sprites.

I think. Not sure whether it has been addressed in the latest versions of AGS.
Steam: LimpingFish
PSN: LFishRoller
XB: TheActualLimpingFish
Spotify: LimpingFish

Shockbolt

I had the same problem with my Inv items when the edges weren't "clean" or sharp if You want.
It didn't help in any way, no matter what color I chose to set as transparent color.
After a few trial and errors, I found a way for it to work close to how I wanted my Inv items to appear, without the white/artifacts around their edges.

What I did was creating a dark border around the Inv item sprites and that fixed it for my game.

Ghostlady

My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

SMF spam blocked by CleanTalk