Inventory Icons Are Hard to Click on

Started by GoToHellDave, Thu 25/10/2012 12:52:08

Previous topic - Next topic

GoToHellDave

Hi.

I imagine this will be a fairly simple one for the veterans on the board.

I'm struggling to click on the items in the player's inventory and once they are selected, I'm struggling to click on other inventory items to combine them. Is there some sort of variable I can change to increase the size of the hit detection area for these icons?

Thanks for the help.

Ben.

Crimson Wizard

#1
There are two common problems related to cursor interaction:

1. The cursor's hotspot offset (position of "action point" relative to cursor image). Cursor's hotspot may be set in unintuitive place, so that it becomes difficult to "aim" when clicking.
Open the cursors you are using in the editor and check where the hotspot is located; fix if needed.
2. Transparency. If object's graphic has lots of interlaced solid/transparent areas it may sometimes be difficult to click on the in right spot. Unfortunately I do not remember if this is applicable for inventory items.

E:
Other than that, are those inventory items really that small?
You may increase the size of slot in inventory window by editing it in GUI Editor (ItemHeight, ItemWidth properties).
You may also increase inventory item graphics, perhaps, by drawing a boundary around them, or some kind of "background".

GoToHellDave

Thanks for the quick reply. I'll check out the solutions you've suggested and see what works.

SMF spam blocked by CleanTalk