Inventory pics not aligning properly

Started by Dave Gilbert, Sun 20/06/2004 06:13:59

Previous topic - Next topic

Dave Gilbert



I honestly don't know what's causing this, as I didn't change the default GUI code one iota.Ã,  Any advise is appreciated.

strazer

According to the manual, inventory item slots are 40x22 big by default. Your item graphics are probably bigger than that, that's why they're overlapping.

Try putting
  SetInvDimensions (40, 40);
in the game_start function. Adjust the size to what works best for you.

LordHart

Yeah, that was happening to me when I created my custom GUI. AS the items were aligning over to the left more than the center.

Just do what Strazer said and use the SetInvDimensions to set them to the size you want.

SMF spam blocked by CleanTalk