Wednesday 23 September 2009

Inventory Revamp

Although I have my exams coming up, I've hit an unusually productive streak of coding - I'm in the process of revamping the inventory completely to follow conventional roguelike standards and to enable full control via the keyboard as well as the mouse.

This is the new design at a glance:

Pressing the key associated with the inventory slot now displays a detailed description of the item (the same information as was presented previously via the mouseover):

I've also implemented multidrop (accesible by pressing d):

Here I selected three items to drop by pressing their associated keys. Pressing ENTER then drops all the items:
I'm also going to implement similar type of funationality for eating food ('e'), reading scrolls ('r') and drinking potions ('q'), as well as for wearing and removing jewellery, weapons and armour.

If you like mouse control, you'll be glad to know I've left in the current method for dragging-and-dropping items.

1 comment:

chronic said...

"Although I have my exams coming up, I've hit an unusually productive streak of coding..."

I don't know about you, but I do all my best work when I ought to be studying!