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
18
S
6
G
4
Posts: 221
Reputation: 3,275

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
107
S
25
G
242
Posts: 4,387
Reputation: 136,966

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
18
S
6
G
4
Posts: 221
Reputation: 3,275

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
107
S
25
G
242
Posts: 4,387
Reputation: 136,966


Return to How do I....?

Who is online

Users browsing this forum: kiugetski, Yahoo [Bot] and 9 guests