Suggestion - GUI buttons have properties too

Started by Rui 'Trovatore' Pires, Thu 09/12/2004 11:33:32

Previous topic - Next topic

Rui 'Trovatore' Pires

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.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Pumaman

Is this smething that anyone else would find useful?

Ishmael

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.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Rui 'Trovatore' Pires

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.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Bernie

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.

Rui 'Trovatore' Pires

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.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Pumaman

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.

RickJ

I think being able to have different schemas for different things would be useful.   

strazer

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.

SMF spam blocked by CleanTalk