How do I create a form to collect info e.g name and email?

Get help using Construct 2

Post » Sun Dec 14, 2014 9:01 am

Hi.

Just started to use construct 2 based on tutorials and wanted to know how do I create a form that requires player to enter name and email before the game starts? Is there a plugin or tutorial that I can refer to?

thanks
B
10
S
3
G
1
Posts: 19
Reputation: 761

Post » Tue Dec 16, 2014 12:21 am

Text Box objects
Then use the TextBoxObjectName.Text to retrieve it.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Wed Dec 17, 2014 3:16 pm

Thanks. will give it a go.
B
10
S
3
G
1
Posts: 19
Reputation: 761

Post » Wed Dec 17, 2014 5:51 pm

Remember that calling "TextBoxObjectName.Text" will give you the text that is currently in the text box. If the Text Box is blank, .Text will return null (or rather an empty string).
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822


Return to How do I....?

Who is online

Users browsing this forum: Demkamen and 12 guests