Hi All,
I am busy following Digitopolis II to get familiar with GDevelop.
I’m trying to insert a Text Entry Object but am not getting the text box to add any text after adding it.
The Text Entry is grey’d out,
I activate the extention
and then I just get the keyboard icon on my Scene.
I’ve tried to “Right-Click → Edit” in the Objects Editor but nothing happens. ![:confused: :confused:](https://forum.gdevelop.io/images/emoji/apple/confused.png?v=12)
Please advise.
Cheers,
BvJ
The text entry object is only add the functionality to capture text input and store it in memory.
You need to use a text object to display the text captured by the text entry object.
- Create a Text Entry object and drop it in to the scene I call it “entry” in this example
2.Create a Text object and drop it in to the scene I call it “entry_text” in this example
- Add an event to modify the text of the text object to display the string captured by the text entry object, to do that just enter the expression “entry.String()” without “” as the text of the text object.
The event should look something like this:
no condition : Do =entry.String() to the text of entry_text
Note that, in the expression I use “entry” because this is the name of the entry object in this example, if you call it differently, you need to replace “entry” in the expression with the name of your text entry object.
1 Like