Hierarchy with input text -- doesn't work

0 favourites
  • 5 posts
From the Asset Store
OpenAI TTS
$10 USD
Text-to-Speech plugin.Allows your Construct 3 project to convert written text into spoken words
  • Hello,

    I want to create a graphical field that has a small text entry box -- sort of like in Scratch. But, I can't use hierarchy to create combined group of objects including an input text box.

    Nor, can it be done programmatically, the add child doesn't appear.

    Am I doing something wrong?

    thanks

    Dan

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Form controls (like button or input text) don't support hierarchy.

    You can use Pin behavior for them.

  • Thank you.

    I tried it but pinned objects lag behind their "parent" object, when those are moved.

    Unfortunately, this makes pin not suitable for having an entry field within a sprite, to interactively set or change a sprites visible name

  • Yeah, form control objects don't like being dragged, scrolled, zoomed etc. You might want to look into making your own input box using Text or SpriteFont object.

  • Yes, i started doing that.

    Basically a "keyboard" at the bottom of the screen, which "injects" text into a text field attached to a sprite.

    Its too bad that i can't get it to look like MIT Scratch ... would love to.

    Perhaps, a javascript solution could be created for having such "text editable sprites"

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