How do I: Transfer Textbox value (layout 1) to text (leyout2

Get help using Construct 2

Post » Sun Jun 15, 2014 10:34 am

Hi folks,

I'm a complete N00B... loving learning and experimenting with Construct2. I've searched the net for this and cannot find the answer (unless) I've not understood it (most likely).

I'm trying to

1. Type in TextBox on (layout 1)... e.g. "Rob"
click Button (layout 1)
sent you to (leyout2)
Text reads (hello "Rob")

Something like this....
I've tried creating a global variable on layout1 but can't figure how to use it.

Can someone please put me out of my misery!

Thanks,
Rob
B
4
S
1
Posts: 47
Reputation: 471

Post » Sun Jun 15, 2014 10:44 am

1. Type in textBox on layout1 ... e.g. "Rob"
click button and store TextBox.Text in variable/dictionary/array/webstorage etc
then send to layout2
Text reads ... set text ... "Hello " & variable

I would recommend, you being completely new to do the beginner games which cover all the basics and more. Also read the manual, but you will get more benefit from actually building the games, not copy paste, but actually building it event by event.
one
two
and my favorite...
Open C2 click new and scroll down that long list to any example and knock yourself out.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708

Post » Sun Jun 15, 2014 10:51 am

Thanks DUTOIT
B
4
S
1
Posts: 47
Reputation: 471


Return to How do I....?

Who is online

Users browsing this forum: Liam Twose, rayolf and 16 guests