A return from long hiatus \o/. I was in the finnish army for six months. I have been back for a month but haven't got time to lurk here .
I have few questions about families. I made a sprite and a text object. I assigned them to family Blue. Then I opened the event sheet editor and checked what conditions and actions "Blue" would contain. They were actually exactly same as sprite's features. ALTHOUGH the family contained a Text object also. If I assigned the family first to the text object, the family would get the features of the text object. However, a Text object and a Sprite do have common properties, for instance, they both have private variables and they both have action "destroy". But when I tested incrementing a variable 'yeah' ([code:630vlyhr]MouseKeyboard: 6 On key Enter pressed
> BlueAdd 1 to 'Yeah'[/code:630vlyhr]
) which I created to family blue, according the debug dialog, none of the objects got their values increased. As I tried to set variable to 5, Construct crashed. As I tried to destroy "Blue", it worked and both objects destroyed. Some bugs here, eh ;D?
But my question is, if there is many object types in a family, will or should family "inherit" their all features? And should user be able to manage some family features so that the members of the family would inherit them? Currently adding a private variables to family just adds the private variable to the each member of the family. Removing the family from an object doesn't remove the variable set by the family, and adding new member that doesn't have the common variable to family totally removes all releated events. This is deifinitely a bad thing. I event managed to mess my variables up so that one sprite had three variables: "yeah", "yeah" and "". Yes, same variable twice and a blank.