Center text?

Blitz3D Forums/Blitz3D Beginners Area/Center text?

po(Posted 2004) [#1]
How would I center 1 line of text on the screen? I only want to center along the x coordinates, not the y. I would have to find the width of the text, I suppose.


cermit(Posted 2004) [#2]
Isnt this what your are looking for ?

Graphics 640, 480

Text 320, 64, " Center Text ", 1 ; 1 = center 0 = normal


po(Posted 2004) [#3]
Yes, thanks.