How do I force text properties to appear?

Get help using Construct 2

Post » Wed Jul 30, 2014 10:11 pm

Hello all, I have a problem. How do I force text properties to appear? As you can see below, I've created a text object called "score"; the yellow version on the left is how I want the text to look, and it does. But when I "Create Object" --> "Score" on layer 6, it shows up like the red version of the text (on the right). Does it not pick up text properties when you "Create Object"? Can somebody help me to figure out why this is happening?

Image

Thanks,
guannstar
B
38
S
9
G
1
Posts: 632
Reputation: 4,012

Post » Wed Jul 30, 2014 10:25 pm

Did you changed the properties from the original text "Projects bar", Or you from a copy of the text in the canvas?
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,165

Post » Wed Jul 30, 2014 10:54 pm

No, I just copied the "Score" text object.
B
38
S
9
G
1
Posts: 632
Reputation: 4,012

Post » Wed Jul 30, 2014 11:10 pm

Never mind, the "Score" text object is not copied. Yeah, a copy of the text object is on every layout. The problem is that the text is underneath a new "game over" picture/object, so I had to use a "create object" event to create it again so that it (the "Score" text object) shows up on top of the "game over" picture/object instead of underneath it.
B
38
S
9
G
1
Posts: 632
Reputation: 4,012

Post » Wed Jul 30, 2014 11:30 pm

Hey, @A0Nasser. It's weird, because I'm doing the same thing with my "HighScore" (as you can see in the code above) and it's working just fine. I don't get it:(
B
38
S
9
G
1
Posts: 632
Reputation: 4,012

Post » Thu Jul 31, 2014 1:59 am

Bump.
B
38
S
9
G
1
Posts: 632
Reputation: 4,012

Post » Thu Jul 31, 2014 2:37 am

You can use z order and set it to the top of the layer then make it invisible, When you need it set it to visible.
Or
You can use event :
Set text in to top of the layer.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,165

Post » Thu Jul 31, 2014 5:22 am

Thanks a lot @A0Nasser, it worked:)
B
38
S
9
G
1
Posts: 632
Reputation: 4,012


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 7 guests