Would have a rule in GD to make text alignment?
For example, Put in the text align right, and write text to go, Right to Left
< ------ GameDevelop >
(The - Represent the text input )
I think it serves
To center a text ( or any object ) on position 230 on x axis, just do:
Do =230-TextObject.Width()/2 to the X position of TextObject
And to ensure that the text is right aligned at position 230:
Do =230-TextObject.Width() to the X position of TextObject
Credits: 4ian