When i use: drawTextEx
How can i set the text to center it's box?
I didn't look at it too closely, but drawTextEx's return value seems to be the width of the text given to it, in pixels?
So using that, you could do maths and center it that way.
Or if you can't use it like that, you could go into the text provided to drawTextEx yourself. You'd convert the escape code text to plain text, and that'd let you use textWidth() with that plain text passed in. And then you could do maths and center it.