[SOLVED]How do I format text on the spot?

Just started using Construct 2? Post your questions here

Post » Wed Jul 30, 2014 9:35 am

Hey guys,

So I thought this is going to be one of those simple things and obvious things where I'd search over Google or in the forums and I'd find it. Unfortunately, I was surprised to find out that there is not a single piece of information that helps you format a text you set using events.

All what I want to do is color a few words in a text I am setting as a conversation for an NPC.

Here is an example:

"Hi, Bob, let's go to the mall?"

So I do an Event like below:
Keyboard on Key Released (Space): Set Conversation Text to "Hi, Bob, let's go to the mall?"

Now what I need to do is through that Set Text action to color "mall" or "Bob" for example in red or blue.

Is there a way to do that?
Last edited by Vallar on Thu Jul 31, 2014 7:32 am, edited 1 time in total.
B
19
S
7
Posts: 161
Reputation: 1,751

Post » Wed Jul 30, 2014 4:12 pm

I'm not sure, but I think Construct 2 doesn't allow the styling of individual words or the use of html tags inside Text and Text Box objects. Maybe there's a plugin available for that.
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
15
S
3
G
1
Posts: 329
Reputation: 2,012

Post » Wed Jul 30, 2014 7:12 pm

Really? That is... well... that is something really basic not to include in the engine...

Is there anyway around this perhaps then? I did search on the forum for text formatting but I found nothing; no plugin, nothing... I thought it was something really stupid and easy that people never fell where I am now >.<
B
19
S
7
Posts: 161
Reputation: 1,751

Post » Wed Jul 30, 2014 7:39 pm

yes you can through effects
B
245
S
39
G
15
Posts: 1,946
Reputation: 40,266

Post » Wed Jul 30, 2014 8:01 pm

May I ask how? As I read through the effects and it looks like it applies for the whole object rather than just a word in a line of text?
Is there any tutorials about this, perhaps?
B
19
S
7
Posts: 161
Reputation: 1,751


Post » Thu Jul 31, 2014 7:32 am

Thank you very much. I thought you meant tutorials so I have been looking in there not the plugins. But I got Rex's Text color one it seems to do what I need.

Again thank you very much :)
B
19
S
7
Posts: 161
Reputation: 1,751

Post » Thu Jul 31, 2014 7:25 pm

Most welcome dear friend
B
245
S
39
G
15
Posts: 1,946
Reputation: 40,266


Return to Beginner's Questions

Who is online

Users browsing this forum: Zamargo and 2 guests