How do I make textbox?

Just started using Construct 2? Post your questions here

Post » Sun Apr 06, 2014 12:51 pm

After i add Texbox object,how to make the player insert his/her name,and then it will be used automatically to every layout.

Ex : Menu : "Daniel"
Layout 2(School) : "Hello,my name is Daniel(From textbox)."
Layout 3(Yard) : " Hai Friends,I'm Daniel(From textbox too)."
~Everyone can make GAMEs~
B
57
S
12
G
1
Posts: 414
Reputation: 5,936

Post » Sun Apr 06, 2014 5:30 pm

Have a text global variable.
Assign the text global variable value to be Textbox.text content.

On layout 2 use the global variable.

You can see an example of use in my tutorial asteroid clone in less than 100 events.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,313
Reputation: 71,094


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests