How do I move child to the same layer of parent?

0 favourites
  • 5 posts
From the Asset Store
Add emotion, innocence, joy and cuteness to your video game with these 15 songs and 9 SFX
  • Hello!

    I have a composite characters. The torso is the parent of the different body parts.

    I have this in start layout:

    But when I move the torso to a different layer the children remain in the old one. Is that how it's supposed to behave?

    Thank you!

  • If you have a purchased Construct account you can put all the pieces into a family. Then move the family to the other layer.

    If you dont have a family you will just have to call all of them individually

  • If you have a purchased Construct account you can put all the pieces into a family. Then move the family to the other layer.

    If you dont have a family you will just have to call all of them individually

    Oh, I tried with the family and it worked! But also it removed the previous z structure, so even it moved the different items they look wrongly sorted -_-

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would suggest just making a function that has 1 parameter. The parameter will be the Layer you want your character to go to. Inside the function you just move each item to the new layer in the correct order.

    It's gross to do, but you only need to do it 1 time, then you can call the function whenever you need to.

  • I would suggest just making a function that has 1 parameter. The parameter will be the Layer you want your character to go to. Inside the function you just move each item to the new layer in the correct order.

    It's gross to do, but you only need to do it 1 time, then you can call the function whenever you need to.

    Yeah I was thinking about doing this! bad side is that I have several characters so it's kinda meh. But thank you anyway!

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