Construct 3 r220

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

  • Order by
  • I love the scene graph changes so far, and can't wait to see what other features we get!

    I hope for a "maintain position relative to parent" feature, which would allow us to visually lay out UI elements, in a separate layout, which get created at runtime. Right now I have to rely on a mix of image points, hard coded values, and procedural positioning. It's all rather messy :P

    • Whoops, just found a bug: crash when selecting (box select or Ctrl+A) 9-Patch and Sprite objects. Will file a proper report now...

      • [-] [+]
      • 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.