Pages

Saturday, June 8, 2013

Furthering the Item System

I changed how the inventory looks a little bit and plan to change how it looks by a lot before the time that this game is near playable.  Instead of the image of the item being right next to the text all the time it only shows up when you right click on the item.  Later I plan to make the right-click a menu so that you can do different actions with the object (equip, drop, properties, etc).  I also made a radial menu (which is actually a square right now but same concept!) that will fill up with equip-able tools in your inventory when you click on them.  

I made the "ItemHaver" Script more advanced in that it will cause the object to drop different items depending on the tool the player is holding.  I'm to the point now where I need to think of some new items because things are starting to drop some strange stuff.  I want to alter ItemHaver further so that there is a probability component related to what items are dropped, and maybe also relate it to the quality of the tool that you're using.

I'm getting more comfortable with manipulating an "item system" but I'm not happy about how it looks yet.  The next couple days will be trying to get my menus and inventory to looks better since now I've got a fairly good grasp on the code, as well as learning how to serialize and deserialize everything i need when changing levels so the players world can be persistent, which is pretty necessary.  Anyways, here's some pictures of what the menu system looks like right now:

Getting water using a bottle.
The Players equipment menu.

No comments:

Post a Comment