Adventure Game Studio

AGS Development => Engine Development => Topic started by: Construed on Sun 15/04/2012 06:18:54

Title: Creating Objects
Post by: Construed on Sun 15/04/2012 06:18:54
Anyone know if there is ever plans to make objects creatable at runtime?
If not is it possible to modify the source as so?
Title: Re: Creating Objects
Post by: Monsieur OUXX on Mon 16/04/2012 12:57:42
Quote from: GrimReapYou on Sun 15/04/2012 06:18:54
Anyone know if there is ever plans to make objects creatable at runtime?
If not is it possible to modify the source as so?

this has been the holy grail of AGS developers for a long time ;-)
It's moving towards it but no immediate roadmap has been defined.
Title: Re: Creating Objects
Post by: Construed on Tue 17/04/2012 03:53:56
Aww, :(

Let me know if I can chip in!
Title: Re: Creating Objects
Post by: Monsieur OUXX on Tue 17/04/2012 14:44:37
Well everything is in construction at this stage, it's up to you!
Anyone to give GrimReapYou the first advice? (I haven't been foloowing closely the new organization)
Title: Re: Creating Objects
Post by: Construed on Thu 19/04/2012 02:17:51
Yea, I'd like to know about that and if possible how to delimit the 300 room state deal.
Title: Re: Creating Objects
Post by: Monsieur OUXX on Thu 19/04/2012 13:41:24
Quote from: Construed on Thu 19/04/2012 02:17:51
Yea, I'd like to know about that and if possible how to delimit the 300 room state deal.

I believe there are modules to work around that limitation.
Title: Re: Creating Objects
Post by: monkey0506 on Thu 19/04/2012 15:37:59
The "room state" is things that can be changed within the room itself at runtime: walkable areas that are enabled, object location/visibility/graphic/etc., hotspots and regions that are enabled, etc.

All of that can be managed from within the script as OUXX says. You basically just need to make your own global copy of whatever room data needs to be stored, and then copy it to the room when entering, and from the room when leaving.
Title: Re: Creating Objects
Post by: TheMagician on Thu 19/04/2012 17:34:37
I guess that would work, but wouldn't it be much easier to change the amount of state saving rooms in the source code?

(not that I'm anywhere near the limit...)
Title: Re: Creating Objects
Post by: Construed on Fri 20/04/2012 04:02:23
Ah, Thanks for the tidbit.
Will surely be helpful.