Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: MoonDog on Fri 26/06/2015 12:46:08

Title: Inventory icon problem.
Post by: MoonDog on Fri 26/06/2015 12:46:08
I'm having a problem with my inventory icons. They are all overlapping each other.
Iv been making my icons all the same size of 32 by 32 pixels but now they started overlapping
Which hasn't happened before. And I'd like to create a custom inventory gui
But it looks really advanced for me todo it.
Title: Re: Inventory icon problem.
Post by: Crimson Wizard on Fri 26/06/2015 13:04:40
Open the GUI editor and set ItemWidth and ItemHeight properties for your Inventory Window, matching wanted item sizes. InventoryWindow object uses these parameters when aligning items on grid, rather than sprite sizes.
Title: Re: Inventory icon problem.
Post by: Cassiebsg on Fri 26/06/2015 13:05:40
Just a few of the many topics on this subject:

http://www.adventuregamestudio.co.uk/forums/index.php?topic=43335.msg576174#msg576174 (http://www.adventuregamestudio.co.uk/forums/index.php?topic=43335.msg576174#msg576174)
http://www.adventuregamestudio.co.uk/forums/index.php?topic=37546.msg493549#msg493549 (http://www.adventuregamestudio.co.uk/forums/index.php?topic=37546.msg493549#msg493549)
http://www.adventuregamestudio.co.uk/forums/index.php?topic=38587.msg507866#msg507866 (http://www.adventuregamestudio.co.uk/forums/index.php?topic=38587.msg507866#msg507866)
Title: Re: Inventory icon problem.
Post by: MoonDog on Fri 26/06/2015 13:15:53
Thanks guys will set the parameter and check out those links.