There is never enough Potions!

I’ve been working with game inventory system lately. Nothing groundbreaking, just typical rpg inventory.  Here are the specs:

  • There are 2 inventories: Quick bar and inventory. Both are fixed size grids of slots, for examle 1*5 and 5*5. In basic game view the quickbar is visible, inventory is not.
  • When an item is acquired, it will go to inventory, unless its stackable and there is stack of such items already in Quickbar
  • ( Possible, not necessary: Item can be dragged to quickbar slot from ground )
  • When keyboard i or inventory button is pressed, inventory is showed, and items can be dragged between inventory and quickbar.
  • When inventory is not present, clicking items in quickbar will activate them.
  • Activation consequences vary depending on the item characteristics.  Typical case: clicking a stack of health potions will consume one item from stack and raise player character’s health

There are different types of inventory items:

  • Spell/item: cooldown, usable multiple times
  • Potion/item: stackable, use consumes one item
  • Weapon: in its own “side slot”. affects attack/defence stats. Clicking may have spelleffect
  • Shield:  in its own “side slot”. affects attack/ defence slots. Clicking may have spell effect
  • Scroll: non stackable, consumed.
  • gem/item:  teleports to different location, activation time, cooldown time

Dragging items:

  • When in inventory mode, dragging item/stack to a new slot puts it there
  • Dragging item on top of stack of similar items will add the item to stack
  • Dragging item over different item will place the item to that slot, and place the itemoriginally in the spot to the position where dragging started (e.g. postions of item swapped)

Here is a screenshot of testing the inventory:

well, in this case there might be enough potions after all...

well, in this case there might be enough potions after all...

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Comments »

 
  • luke says:

    Cool codename “flare”. Nice to know that you are also interested in RPG game development. Get to know your site through “unnamed RPG”. We are also currently developing our very own flash RPG codename “Project Z” Would be very much appreciate if we can exchance idea and concept through email :)

  • admin says:

    Hi! First comment here, thanks =). Feel free to send me emails. Does you project have a web page?

 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>