How do I Bold an Individual Word on a Text object

Get help using Construct 2

Post » Wed Apr 16, 2014 9:40 pm

Hi, I need to bold certain words inside a text, based on the mouse position. So if the mouse is over a word, it gets bold. Any way to do that?

Thanks
B
38
S
8
G
3
Posts: 439
Reputation: 6,876

Post » Wed Apr 16, 2014 11:02 pm

You can't. You can only make other text instances, which can can have the bold attribute via css.
Image ImageImage
B
168
S
50
G
169
Posts: 8,283
Reputation: 108,195

Post » Wed Apr 16, 2014 11:36 pm

Yeah, thought so. Any ideas onhow should I go to create a table of text objects on the screen, so I can get each instance separetedly? The text object is very confuse for me.
B
38
S
8
G
3
Posts: 439
Reputation: 6,876

Post » Thu Apr 17, 2014 12:22 am

There are many different ways to pick individual instances of text. Compare instance variable, UID, or even the text the instance has.
Image ImageImage
B
168
S
50
G
169
Posts: 8,283
Reputation: 108,195

Post » Thu Apr 17, 2014 2:26 pm

I'm having trouble with displaying an entire text from a json on the screen with line breaks and paragraph breaks. ;/
B
38
S
8
G
3
Posts: 439
Reputation: 6,876

Post » Thu Apr 17, 2014 2:43 pm

Might need to format the text with "newline".
Image ImageImage
B
168
S
50
G
169
Posts: 8,283
Reputation: 108,195

Post » Thu Dec 15, 2016 2:26 am

we have any chance to any1 solve this poblem? i got the same
B
14
Posts: 1
Reputation: 471


Return to How do I....?

Who is online

Users browsing this forum: David181, shawnzien and 5 guests