Ask here your questions to get help using GDevelop.
By Paturata
#44841 Hello,
I have just now started using Game Develop so I'm sorry if this question is stupid, but yeah, I figured I'd try asking.

I have a text and I want the text to appear in a manner of "typing itself out" - characters appear one by one. It works fine, but what I want to do is make them appear from the center of the screen, so that the string is centered when it's completely "written". Considering there is no option for text alignment, how could I manage to do what I need?

Hopefully it's understandable enough.
Thanks a lot!
User avatar
By Lizard-13
#44847 Check this out:
(13.02 KiB) Downloaded 365 times

Anyway, you just have to add this action in the event you "refresh" the text to show a new letter:
Code: Select allDo = "Position_to_be_centered" - Text_Object.Width()/2 to the X position of the Text object

"Position_to_be_centered" is the X position where you want the text to be centered (e.g. the centre of the scene)