Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: funnyboy044 on Thu 15/06/2017 03:45:19

Title: Inventory image cursor hotspot issue- please help!
Post by: funnyboy044 on Thu 15/06/2017 03:45:19
For a while now, I've had this issue in my inventory items in the inventory box where to select an item, I have to click on the top-left corner of the inventory image instead of the middle or at any point of the image like in other adventure games. I've tried setting the cursor hotspot in the inventory image to the middle of it, but I still have to click about on the top-left corner. How do you solve this issue?
Title: Re: Inventory image cursor hotspot issue- please help!
Post by: Crimson Wizard on Thu 15/06/2017 04:59:53
Look for ItemWidth and ItemHeight properties of inventory window. These parameters need to match average size of your items (ideally item graphics should be equal sizes, with transparent borders if needed, to make them arrange correctly).
Title: Re: Inventory image cursor hotspot issue- please help!
Post by: funnyboy044 on Thu 15/06/2017 19:03:56
Where do I have to click to change that?
Title: Re: Inventory image cursor hotspot issue- please help!
Post by: dayowlron on Thu 15/06/2017 19:45:57
ItemWidth and ItemHeight are in the properties window of the Inventory control.
Title: Re: Inventory image cursor hotspot issue- SOLVED!
Post by: funnyboy044 on Fri 16/06/2017 03:54:17
Fixed it.