Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: monkey0506 on Mon 23/10/2006 01:33:57

Title: SUGGESTION: DynamicObjects
Post by: monkey0506 on Mon 23/10/2006 01:33:57
The RoomInv module (http://americangirlscouts.org/bbc.com/yabb/index.php?topic=28770.0) has brought up an interesting idea regarding objects. Would it be possible to make (and would anyone find it useful if there was) a DynamicObject type that could be used to create objects dynamically?

My idea for this would be that these objects could be created and linked to any room (perhaps even changing rooms), with all the normal attributes of an Object. These objects wouldn't occupy any of the 20 objects currently allowed per room, and the user would have to remove them manually before exiting the game (much the same as DynamicSprites).

I understand this raises some issues, which is why I ask, would the value of this suggestion's implementation paired with any support outweigh the complications of implementing it?
Title: Re: SUGGESTION: DynamicObjects
Post by: gypsysnail on Mon 23/10/2006 06:06:20
Hi Monkey,
YES!!! I like this idea because in my game I am going to need something like this to create an object - well the character will create the object sometime in the game. If this is the sort of thing you mean of this module, then I am all for it. But if not, pardon my mistake lol :P
Title: Re: SUGGESTION: DynamicObjects
Post by: monkey0506 on Mon 23/10/2006 07:17:58
Well the idea is that if you could create Objects dynamically, you could, for example, simulate dropping any inventory item into any room without having to have an existing object in that room for that item (which would limit the items per room to 20).

Currently implementing this type of idea would...essentially...require re-rendering the screen entirely, or just forcing the items to be drawn in the background. Which is why I figured it would be worth suggesting. Worst that could happen if I suggest it is Chris says "no." If I don't ask, the answer's definitely no. ;)
Title: Re: SUGGESTION: DynamicObjects
Post by: Rui 'Trovatore' Pires on Mon 23/10/2006 08:15:49
CJ has toyed with the idea of a CreateObject function, as I recall, that inherited the interactions of an inventory item or something. Dunno if he reached a conclusion.
Title: Re: SUGGESTION: DynamicObjects
Post by: monkey0506 on Mon 23/10/2006 08:34:51
Link? Reference? Site your sources?

I'm interested to see what CJ has to say about this whole thing.
Title: Re: SUGGESTION: DynamicObjects
Post by: Rui 'Trovatore' Pires on Mon 23/10/2006 08:48:46
http://americangirlscouts.org/bbc.com/yabb/index.php?topic=15853.0

There. Took a while, 'cause I didn't really remember it meself, but there. It came out of the desert, out of the blue, and out of talk about making a Kyrandia template.
Title: Re: SUGGESTION: DynamicObjects
Post by: monkey0506 on Mon 23/10/2006 08:55:53
Ah yes...clicking on Objects...interacting with them....yes...well....er...oh boy.
Title: Re: SUGGESTION: DynamicObjects
Post by: strazer on Mon 23/10/2006 10:59:44
Please use this tracker entry: Add objects to room at runtime (http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=155)