Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Rui 'Trovatore' Pires on Thu 09/12/2004 11:33:32

Title: Suggestion - GUI buttons have properties too
Post by: Rui 'Trovatore' Pires on Thu 09/12/2004 11:33:32
Ok, I hope this isn't already in the tracker, or else I'm making a fine fool of myself...

...anyway, like it says on the label - can GUI buttons and objects have properties too? I'd find it very useful. It's not theoretical, BTW, it would be nice to have for what I'm doing.
Title: Re: Suggestion - GUI buttons have properties too
Post by: Pumaman on Thu 09/12/2004 17:41:01
Is this smething that anyone else would find useful?
Title: Re: Suggestion - GUI buttons have properties too
Post by: Ishmael on Thu 09/12/2004 20:24:22
I would, in a way, eventually... but as I have a long list of properties for hotspots (this interface of mine...), it gets difficult to use them with anything else...

On topic of properties, would it be impossible to have the possibility to have separate properties for say, rooms, objects/hotspots, etc.? Or the possibility to set something like: Use property set 1 for hotspots, characters, objects; Use property set 2 for rooms; Use property set 3 for GUI objects... Or something similiar.
Title: Re: Suggestion - GUI buttons have properties too
Post by: Rui 'Trovatore' Pires on Thu 09/12/2004 20:26:54
I vote for your second suggestion, Ishmael - my first current attemp with properties has shown to me how handy it is to share the same ones amongst lots of things.
Title: Re: Suggestion - GUI buttons have properties too
Post by: Bernie on Fri 10/12/2004 14:51:36
I was wondering if it will be possible some time in the future to change property values at runtime?

This would be very useful for, say, RPG games, with stats and so on, or just general AI. I'm handling my NPC AI with inventory items (messy) and arrays (inofficial feature at this time) at the moment, and changeable properties would be really handy to use instead.
Title: Re: Suggestion - GUI buttons have properties too
Post by: Rui 'Trovatore' Pires on Fri 10/12/2004 16:14:24
Actually, maybe there should be 2 sets of properties. I think I understood them better now that I started messing with them. I believe the properties CJ gave us are mostly of the "openable/closeable/drinkable/rainable" kind, you know? Stuff that is potentially inherent to all things.

But we also tend to use it for other things, such as variables. There's the added advantage of them being linked to the object/character/hotspot. But that's another kettle of fish entirely.

Maybe these latter could be added as something separate, with some other name...? Just a thought.
Title: Re: Suggestion - GUI buttons have properties too
Post by: Pumaman on Fri 10/12/2004 18:29:14
What I would like to add to the property schema editor is a way to specify for each property whether it affects all types of thing, or just rooms, just objects, etc.

As ever though, there's lots of things I'd like to add to all sorts of parts of AGS, so it's hard to promise anything.
Title: Re: Suggestion - GUI buttons have properties too
Post by: RickJ on Fri 10/12/2004 21:27:43
I think being able to have different schemas for different things would be useful.   
Title: Re: Suggestion - GUI buttons have properties too
Post by: strazer on Tue 18/01/2005 20:44:55
Please use tracker entry
http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=190
to post your comments about this.
Once we're able to modify tracker entries, I will edit it to reflect a more universal approach.