How do I place two of the same object in a container?

0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • I have an enemy with two identical arms. (One will be mirrored.) Enemies are placed in the layout. One arm is placed outside the layout and in a container with the enemy.

    With the arm placed and pinned to the enemy, every enemy gets an arm and it follows perfectly. I'm not sure that this is good practice but it works...

    Now I want a second arm I can place. How do I "re-use" the same arm?

    For now I cloned the arm object in the layout, mirrored it and added it to the container. Now I have enemy, arm1 & arm2 in the container. This works but what If I had 20 arms... Is there a better/correct way to do this?

  • Nothing wrong with that way. Containers give you the features of creation, destruction, and ease of picking.

    You don't get all those in a family, or instancing, but all can be done in events.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Good to know. Thanks for your feedback newt!

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