Fully Functional Networked Inventory Tutorial System

Okay so I’ve finished this tutorial and trying to fix/add in whats left over.

Problems I’ve fixed:

  • hit box’s overlapping/ not being aligned with texture (I use scale to ratio function from earlier in the tut as I want better support for lower resolutions)
  • Errors being generated when attempting to pickup/drag a non inventory item aka clicking on empty inventory slots

Problems to go:

  • drop item from inventory
  • fix switching of items from inventory slot 0 as doesn’t work
  • stop item from disappearing when dragging onto non hitbox (sometimes item texture is left attached to mouse until clicking on a hitbox)

First fix, stop trying to pickup non-existent items: