How do I put a name to start the game?

Get help using Construct 2

Post » Fri Jan 23, 2015 1:35 pm

The question is:
As I can do to make when starting the game asks you to put a name, and this in turn is repeated in all screens.
Including:
Put your name here: AILEN
"AILEN WON" and AILEN in the game appear on every screen until you win and say

put a name to start the game
B
4
Posts: 19
Reputation: 240

Post » Sun Jan 25, 2015 2:37 pm

Yes you can do this.

Consider creating a Global Variable, called "Name" for example.

Use a textbox for the user to enter their name.

Create a button to set the value.

Then use the variable to call the string stored in the variable.

Here's a simple example in a capx to help you get started.
You do not have the required permissions to view the files attached to this post.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283


Return to How do I....?

Who is online

Users browsing this forum: richardfu and 34 guests