Spritefont, Change Alignment

Get help using Construct 2

Post » Sat Jul 06, 2013 8:03 am

Its possible change the text alignment in the new spritefont object with an action?
B
32
S
7
G
2
Posts: 164
Reputation: 3,774

Post » Sat Jul 06, 2013 12:02 pm

Doesn't look possible right now, as there is no action doing it ^^ There are always workarounds like multiple spritefont with different align, and a variable to know witch is witch when you want to display text (so you interchange the spritefonts) but it's quite rare to need to change the alignment during runtime, no ?
B
17
S
8
G
4
Posts: 473
Reputation: 6,211

Post » Sat Jul 06, 2013 10:18 pm

I like to use the minimum objects as possible, anyway i found a workaround so right now its not needed, but imagine that you have a window that you use for several things... its easy that you need to change alignment during runtime, in my case, the same window is used for tutorials (left alignmend) and pause/endLevel menu (center alignment.
B
32
S
7
G
2
Posts: 164
Reputation: 3,774


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 29 guests