Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Sledgy on Wed 31/08/2011 08:30:09

Title: Inventory items 100x100 don't work correctly
Post by: Sledgy on Wed 31/08/2011 08:30:09
(AGS 3.2.1)

Inventory items 100x100 don't work correctly in the inventory.

Game is 1024x768.


As I see nevermind what resolution you have, if your items are 100x100 (or near that), then you can't take this inventory item from Inventory via point center, only via top left corner!

Source (AGS 3.2.1) for example:
http://jift.narod.ru/invis/AGS3x_100x100_item_problem.rar

Run source, Tab and try to take inventory via center!


P.S. The forum search don't work. So maybe this problem was solved somewhere...

QuoteDatabase Error

Please try again. If you come back to this error screen, report the error to an administrator.
Title: Re: Inventory items 100x100 don't work correctly
Post by: Khris on Wed 31/08/2011 08:55:30
Open the GUI with the inventory, then select the InventoryWindow.
Now change ItemWidth and ItemHeight to 100.
(Those values are used to determine the positions and "click areas" of the icons; if the sprites are much bigger, the items overlap and of course can only be clicked at the top left corner.)

Oh and it wasn't a problem but why not use an english file hoster in the future? ;)
Title: Re: Inventory items 100x100 don't work correctly
Post by: Sledgy on Wed 31/08/2011 09:54:38
Thanks, it works!!! :D

English file hoster? What of these do you can recommend me?
Title: Re: Inventory items 100x100 don't work correctly
Post by: Khris on Wed 31/08/2011 10:45:22
http://www.mediafire.com/ is cool because there's no waiting time.
TerranRich has made http://shutupload.com/ but you have to register.