Text formatting

Get help using Construct 2

Post » Thu Feb 26, 2015 2:07 am

How do I change the horizontal alignment of a text through an event? There doesn't seem to be any events available for this. I have a text object for dialogue boxes, but I want to change if the text is drawn from the left or in the center of the object depending on the line.
B
21
S
7
G
4
Posts: 231
Reputation: 3,470

Post » Thu Feb 26, 2015 6:27 am

I'm curious about this as well. I see it under text properties, but it looks like there is no way to change alignment on the fly. Perhaps this suggests an idea for improvement of the text object or another plugin.
B
14
S
5
G
1
Posts: 189
Reputation: 1,536

Post » Thu Feb 26, 2015 7:10 am

@Hasuak
@bladedpenguin

You might add this behavior on text object.

Edit
A sample capx
Last edited by rexrainbow on Thu Feb 26, 2015 7:15 am, edited 1 time in total.
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Thu Feb 26, 2015 7:13 am

NIce! Rex saves the day again :)
B
14
S
5
G
1
Posts: 189
Reputation: 1,536

Post » Fri Feb 27, 2015 4:59 am

Weeelp, what can't C2 do? Thanks @rexrainbow, I'll be sure to check that out soon!
B
21
S
7
G
4
Posts: 231
Reputation: 3,470

Post » Mon May 04, 2015 2:57 pm

@rexrainbow Hey i was looking for this but trying to install your plugin i get the following error:
Image

I am using version 204.2
B
10
S
4
G
3
Posts: 163
Reputation: 2,507

Post » Mon May 04, 2015 3:03 pm

@Allardje

Put this behavior in html5\behaviors folder, not behaviors\ folder.
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195


Return to How do I....?

Who is online

Users browsing this forum: Darth Crusher, SputnikCZ and 2 guests