Construct 3 r220

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
    • [-] [+]
    • 1
    • Ashley's avatar
    • Ashley
    • Construct Team Founder
    • 1 points
    • (1 child)

    What do you mean by the "maintain position relative to parent" feature? That's exactly what the scene graph feature does already.

    • Sorry, I realised too late that it sounded wrong.

      The problem is in spawning the child objects. When spawned, they just go where they're told: X, Y, etc. So to position child objects requires coding.

      In my proposed idea, I'd like it if there was an option to maintain the child's relative position in a different layout. An array of UI elements: info boxes that spawn at runtime, for example, and each has child objects (text boxes, sprites, what have you). The box and its children could be laid out in a "prefab" layout, elsewhere, and then on spawning, they'd spawn with that same relative positioning.