Inventory System (open source)
Author: | Coop
|
Submitted: | 29th March, 2005
|
Favourites: | 0 |
Genre: | Tutorial
| Downloads: | 580
|
Rated: |
|
|
Edited By Coop on 3/30/2005
Edited By Coop on 3/30/2005
This is an open source Inventory system I made that allows you to pickup, equip, unequip and drop items by selecting them.
First pickup item one or two and it is placed in the empty slot closest to the first box.
Then you can highlight one of the items by clicking in the box and when doing this certain buttons become available to you.
When you equip one of the items it is shown on your character and the box is highlighted. You are then not able to equip any other items until the first item is unequipped.
One thing I never did was dropping the item once its equipped, you first have to unequip it then drop it.
I also didn't comment or really name any of the counters or objects, but I will still do it if anybody wants me to.
This inventory system could probably be shortened into not so many lines of code, but thats how I was most easily able to do it.
Anyway, I hope this helps someone and if you have any questions on the confusing coding just ask me and I'll probably just add comments and such.
Review This Download
http://www.bigoakamoco.com/inventory.zip (10kb )
|
|
Coop
Registered 15/08/2004
Points 347
Is this worth a look? Let others know! Favourite
|