What ways can families be used?

For questions about using Classic.

Post » Thu Mar 26, 2009 10:03 pm

I just posted a bug to the tracker about families. Currently if your family already has just a sprite with the rts behavior, then you add another sprite with the rts, and bones behavior it will cause an error runtime.
My question is was this meant to be doable? I know its automatically a bug because of the crash, but Im getting other strange things to happen when i mix sprites with various behaviors.
The wiki says its used with objects of the same plugin type, but it says nothing about behaviors, or if it can be used with other families.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Thu Mar 26, 2009 11:44 pm

Behaviors (and effects) are supposed to work on the same principle as private variables. If all the types in the family have variables, behaviors or effects in common, they appear in the family as well. So ideally it would work with any combination of objects with behaviors - the ones in common to all of them appear in the family.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests