Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / inventory items

Author
Message
Mr Inquisitive
19
Years of Service
User Offline
Joined: 5th Feb 2005
Location: Who Cares?
Posted: 9th Apr 2005 20:12
i didn't know where else to post this, so how would i make it so that if my character walks over an 'item' it will add an image that represents it into my inventory. But, first off, would i just use an image for the inventory? Or is an inventory a coding thing? If anyone can help this DB Classic using guy, it would be much appreciated

Horus Game Developments
freewebs.com/horusgames
BF game programmer
19
Years of Service
User Offline
Joined: 22nd Jan 2005
Location: hoover alabama
Posted: 10th Apr 2005 08:47
i dont use dbc but i think i can help.try having the sprite already but hide it then say :
thats some simple code but using more items is the same code but more ifs. hope that helps!

james bond rules
Mr Inquisitive
19
Years of Service
User Offline
Joined: 5th Feb 2005
Location: Who Cares?
Posted: 10th Apr 2005 17:12
how would i make it so that the sprite is only shown on the inventory menu screen though?

Horus Game Developments
freewebs.com/horusgames
Dsarchy
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: UK- Kent
Posted: 10th Apr 2005 20:48
you need to create an array (to hold all the items of your inventory)

then when you collide with the sprite have an argument to set that item to 1 or something and then from another argument have it do something

alot of this might be wrong im just trying to help,
dan
BF game programmer
19
Years of Service
User Offline
Joined: 22nd Jan 2005
Location: hoover alabama
Posted: 11th Apr 2005 04:22
say show object if menu = 1 and if weapon = 1!

james bond rules
Mr Inquisitive
19
Years of Service
User Offline
Joined: 5th Feb 2005
Location: Who Cares?
Posted: 11th Apr 2005 05:25
thank you all so much!!!!!!!!!!!!

Horus Game Developments
freewebs.com/horusgames

Login to post a reply

Server time is: 2024-09-23 17:20:09
Your offset time is: 2024-09-23 17:20:09