3D Inventory System

Blitz3D Forums/Blitz3D Programming/3D Inventory System

Zach3D(Posted 2006) [#1]
I have an inventory system and it works completely except how would I make the items add if there was an inventory like this:
Slots 1 2 3 4
5 Sword Empty Cup Gem
6
7
8

when i pick up an item it has errors, could someone show me an example of a 3D inventory system, i rather rewrite one instead of using the one i already made


John Pickford(Posted 2006) [#2]
What's a 3D inventory?


Doggie(Posted 2006) [#3]
Looks like an array....


Danny(Posted 2006) [#4]
There's a multi-dimensional inventory system in the code archives:

http://www.blitzbasic.com/codearcs/codearcs.php?code=1525


Leiden(Posted 2006) [#5]
Just have a type such as 'Item' which contains details such as Name, Position, Mesh, Texture etc. Then create an array of that type with the amount of items in your inventory.


Zach3D(Posted 2006) [#6]
Thats not what I meant.. I already have an inventory system, it works fine but whenever I pick up an item, it doesn't go to right position, nevermind I'll have to fix it myself.


Ross C(Posted 2006) [#7]
Hmm, you should explain the problem better. I'm not sure what your meaning, and people can only give answers based on their interpretation of your question. :o)