The Daily Click ::. Forums ::. Klik Coding Help ::. Inventory
 

Post Reply  Post Oekaki 
 

Posted By Message

Scott Handelman



Registered
  19/05/2004
Points
  117
21st May, 2004 at 13:31:49 -

Hey.

I was wondering if any of you have any tips for making and controlling an inventory, the kind of inventory they use in old Lucasarts games like Day of the Tentacle and Sam and Max, etc.

Here's what I'm doing now. When I get an item (by using a get button that I've created), the item is destroyed and I create a new item that looks similar to the last item that I put at the top of the screen. When I want to use the item, I click on a "use" button, then on the item, then on the thing I want to use it on.

My only problem is that I'm using a lot of global values as flags and I'm quickly running out of global values to use. Is there an easy way to control inventory of some sort? Does anyone want to share their experiences making a point and click adventure game like this?

EDIT: Oh yeah...I'm using MMF. Forgot to say that.

Image Edited by the Author.

 
n/a

Kramy



Registered
  08/06/2002
Points
  1888
21st May, 2004 at 19:36:35 -

Use alterable values. You got 26 PER active object in MMF. Just use the alterable values from your inventory panel, or another object that you only have one of.(if you don't have an inventory panel)

 
Kramy

- Yelnek -



Registered
  03/05/2003
Points
  1016

VIP MemberI am an April Fool
22nd May, 2004 at 01:25:55 -

or use the 1000 Global Values... I like to use it

 
"I have dreamed a dream... But now that dream is gone from me."








Mr Icekirby



Registered
  18/12/2003
Points
  846
22nd May, 2004 at 09:36:46 -

or use INI

 
Mr Icekirby says so!
OBEY ME!
   

Post Reply



 



Advertisement

Worth A Click