Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Knox on Mon 17/05/2010 17:51:46

Title: Is this a good way to fake a "container"?
Post by: Knox on Mon 17/05/2010 17:51:46
I found a way to fake a "container" and I was wondering if you guys thought its an "ok" way to do it...or if you knew of an even better way?

Lets say you have a fridge in a room. I make the fridge an object. When you click on it, it opens another room with a closeup view of the fridge. This fridge is also an object. On top of the fridge are my sprites of other objects (milk, bread, etc). When you click the hand icon, it makes the objects disappear and adds it to your inventory. If you want to put it back, when you click on the fridge object with the item's cursor, it will just make the object re-appear and its then removed from your inventory.

Im guessing that's what everyone else is doing, right?
Title: Re: Is this a good way to fake a "container"?
Post by: Khris on Mon 17/05/2010 17:55:08
Pretty much, yes, provided a close-up view is used. You could also use a hotspot for both fridges though.
Title: Re: Is this a good way to fake a "container"?
Post by: Knox on Mon 17/05/2010 18:05:06
True, its not really necessarry to create the fridges as objects...hotspots do the same thing!

Ok, good to know Im on the right track :P