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
54
S
10
G
1
Posts: 410
Reputation: 5,653

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
284
S
109
G
91
Posts: 7,317
Reputation: 87,483


Return to Beginner's Questions

Who is online

Users browsing this forum: thewisetree and 1 guest