Page 1 of 1

Better way for centering text?

PostPosted: Tue Aug 22, 2006 3:01 pm
by Novice
Does anyone know a better way of making text stay centered on the screen eaven while it changes. I'm using this code in draw actor
Code: Select all
x=view.x+(88-width/2);

(where 88 is half the width of my screen) but it dosent look very good while the text is changing, it shakes a little before it is centered, and is realy annoying.
Any suggestion? TIA