InventoryItems

Started by maraki_ang3l, Wed 20/05/2009 17:29:05

Previous topic - Next topic

maraki_ang3l

Hello i would like to make a question ,it's obviously my first game and in my inventory my first item is on top of the other.
I can't think of any solution and i would appreciate some help.

Thanks in advance  ;)

GarageGothic

#1
Probably your sprites are larger than the default inventory grid size. You can give the items more room by using InvWindow.ItemWidth and InvWindow.ItemHeight to specify their maximum size.

Edit: Actually you can set these directly in the editor. Just go to the GUI editor, click on the inventory window in your inventory GUI and change the ItemHeight and ItemWidth in the properties menu.

SMF spam blocked by CleanTalk