ID:52267
 
Today, I put together a rather nice equipment system for my game. It's a simple drag-and-drop system, as doubleclicking is used to bring up a description of the item.

the inventory is in the bottom left, the equipment in the top right, and the map in the left.

You can drag items to and from any control (well, not from the map), and it will either replace the old items with the new, or unequip/drop the item as appropriate!

edit - ghostanime suggested that I make ctrl-click do the equipping and unequipping, so I did, thanks!



(the gui will probably change, but i'm looking for comments on that, too, if anyone could..)


Main Hand?
Why don't you have it say which hand is your "main hand." I'm right handed, I don't carry things in my right hand and say, "I like carrying things in my main hand!" I don't mean to nit-pick but it just struck me as strange.

You could probably make the map larger to remove some of that empty space, too.
Good luck!
True as that may be, picking one hand or the other is not really how I want to go about it. I might have the user pick which hand they want to be dominant, but that would be only a visual effect, so.. yeah.

I could make the map larger, but the size it is currently at allows it to have the best space for a 32x32 display -- a player could maximize the screen if they chose, and set the map to stretch.

Although, I appreciate the feedback regardless! I'll see what I can come up with.
Ok, wasn't sure if you knew you could tell it to not stretch the icons. As in, you can set your map control to 32 pixels with no stretching.
Yeah, that's how it's set currently.