Thursday, May 17, 2018

Inventory has evolved beyond the debug logs!

The inventory has evolved past just listing all items that you picked up in the Unity debug logs, into a graphical interface that actually shows you what you picked up!


Tada! Stacks don't work yet, it's very basic. A function runs and updates your inventory's icons every time you click the inventory bag icon. The close button works, and the inventory bag icon reopens it. The ribbons will be for more inventory slots, so you'll have a total of 16 * 5 = 80 inventory slots.

Turns out I need to put all my icons in my Resources folder, I was trying to be clever with my Item Editor and keep them in the same path as my Sprites folder. Unfortunately didn't turn out to work. I think it's a waste of space to have both sprites and icons look the same, so I'm debating creating vector sprites for all items that can go in your inventory. It'd make them match the inventory better.

Inventory specific goals:
  • Make stacks work
  • Make the tabs work
  • Animate the tab ribbons when hovering
  • Allow items in inventory to be clicked on for a menu that allows you to remove/use them
  • Make the bag better, make it so that when you pick up stuff while the inventory is open, it updates it right away

 Also here are some other interfaces, for the quests and notifications, that aren't in the game yet.



No comments:

Post a Comment