Difficulty Clicking On Objects/Inventory

Started by DazJ, Thu 31/07/2008 15:14:50

Previous topic - Next topic

DazJ

I've discovered that I have to click several times or in certain places on certain objects/inventory items before it'll activate.

For example, in my inventory GUI there is an axe. If I click the transparent area it doesn't select it. Same with the handle. If I click the actual axe-head though, it works...why is this? It's driving me crazy.

Is it something to do with the inventory icon's transparency?

If so how do I fix this?

Akatosh

Did you enable pixel-perfect click detection? If yes, turn it off and live in bliss.

DazJ

It's turned off. My objects are now clickable but my inventory items are only clickible on the actual visible drawing, not the transparent areas.

WHAM

An idea: If your inventory has a flat single color background (which seems reasonable, as I'd like my inventory to be as clear as possible), why not make the inventory items background with the same color and without transparencies? If you have a cool picture or a gradient in the inventory background, then this might not work, but I think it might actually be what you're looking for.
Wrongthinker and anticitizen one. Utterly untrustworthy. Pending removal to memory hole.

Mazoliin

Have you set the height and width of the inventory items?

DazJ

Quote from: WHAM on Fri 01/08/2008 13:41:16
An idea: If your inventory has a flat single color background (which seems reasonable, as I'd like my inventory to be as clear as possible), why not make the inventory items background with the same color and without transparencies? If you have a cool picture or a gradient in the inventory background, then this might not work, but I think it might actually be what you're looking for.

But the mouse cursor would be a solid picture when an item is selected? I wouldn't like the look of that.

Quote from: MazoliinHave you set the height and width of the inventory items?

Yes, I've set them but it still doesn't work. It's really bugging me.

SMF spam blocked by CleanTalk