Player name above players head

Get help using Construct 2

Post » Fri Feb 21, 2014 8:14 am

Hello, I am new to construct and I have a question.

I have created a character who is running over the screen. I have pined a text to him and I am wondering how to make a variable for his name so that on a start screen you can type in a name and that will be shown above the player.
B
3
Posts: 5
Reputation: 206

Post » Fri Feb 21, 2014 8:20 am

The basics are something like this:

Create global variable PlayerName

make a textbox

on textbox changed set global variable Playername to : textbox.text

set the pinned textobject text to : Playername
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Feb 21, 2014 8:29 am

thank you, i will try that :D
B
3
Posts: 5
Reputation: 206

Post » Fri Feb 21, 2014 10:49 am

B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], leandrogenske, R0J0hound and 9 guests