txt obj not changing it's color on other layouts

Get help using Construct 2

Post » Wed May 04, 2016 5:07 pm

When you choose a nickname and a color for you nickname, it only applies the color on the first layout. I want it to apply the colors on any layouts on which the txt obj is.
Video: https://www.youtube.com/watch?v=MTyEe-M ... e=youtu.be
Burry me with my empty hands sticking out the ground, so that all can see, that the one who had the world on his hands, died with them empty.
B
19
S
4
G
4
Posts: 135
Reputation: 3,074

Post » Wed May 04, 2016 6:02 pm

My thinking is that you can either set an array or global variable (the array would probably be better) to be set with the numeric values for the color that you want your text to be. On the start of your layouts you set the text color to the values you saved when selecting color in your initial layout.
B
71
S
41
G
24
Posts: 356
Reputation: 18,464

Post » Wed May 04, 2016 9:24 pm

I did it with variables, but im curious on why this: http://prnt.sc/b0c18p doesn't apply to all layouts..
Burry me with my empty hands sticking out the ground, so that all can see, that the one who had the world on his hands, died with them empty.
B
19
S
4
G
4
Posts: 135
Reputation: 3,074

Post » Wed May 04, 2016 9:29 pm

When working with layouts, you can try including a global event sheet on every layout that sets common parameters On Start of Layout for situations like this.
Mistakes were made.
B
54
S
28
G
115
Posts: 1,705
Reputation: 65,083

Post » Thu May 05, 2016 1:14 am

B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Thu May 05, 2016 9:17 am

Well that one took 5 times less code than mine and its actually really simple lol
I will wisely use it, thanks
Burry me with my empty hands sticking out the ground, so that all can see, that the one who had the world on his hands, died with them empty.
B
19
S
4
G
4
Posts: 135
Reputation: 3,074


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 23 guests