Create all members of a family?

This forum is currently in read-only mode.
From the Asset Store
A collection of various zombie characters sprites for creating a 2D platformer or sidescroller game
  • Based on my forum searches as well as on my own experience, when you use System: Create Object on a family it picks a random member. Is there a way to tell construct to spawn each member of a family in an elegant way?

    In case it helps, here's what I'm trying to do:

    I have different groups of sprites that each represent various segments of characters. At runtime I want to spawn and attach these groups of sprites to npc characters and even switch between them to create combinations.

    So far the cleanest way seems to be with families since I can do the attaching of all members in a single action, but spawning them is a different matter. If anyone has a smarter way I'd appreciate the help

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • A container perhaps?

  • Thanks for the reply.

    I've found that containers work great when you have one group of objects associated with one character. The problem I have now is that I have multiple characters and multiple groups of objects that I want to mix-and-match in different conbinations, so containers don't work. Unless I'm missing something about how they work.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)