3D Inventory System
Blitz3D Forums/Blitz3D Programming/3D Inventory System
| ||
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 |
| ||
What's a 3D inventory? |
| ||
Looks like an array.... |
| ||
There's a multi-dimensional inventory system in the code archives: http://www.blitzbasic.com/codearcs/codearcs.php?code=1525 |
| ||
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. |
| ||
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. |
| ||
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) |