Inventory icon sprite overlapping

Started by Bobsy, Tue 18/08/2009 16:21:00

Previous topic - Next topic

Bobsy

So I'm using the default, boring GUI in a sort of learn-as-you go prototype game at 800*600 resolution. I'm not nearly smart enough yet to go making my own GUI, but I've imported my own sprites for inventory icons because, you know. They're extremely rough and ready, of course, I'm no artist and I'm still hoping I can con some poor soul into doing all that heavy lifting for me if and when the time comes. But anyway.

I've noticed that at 800*600 the space allocated for each inventory item is a bit tiny. The size of the default blue cup icon, in fact. Compared to this, my sprites a massive and so they overlap. Question is this: how do I change the allocated space for inventory items so that the sprites each have enough breathing room? Related to this I suppose will be how many items per row, and all that. Can anyone help?

Matti

You can set the item width and height in the inventory's panel.

SMF spam blocked by CleanTalk