Printing Text
by Shiraz · in Torque X 2D · 02/20/2007 (11:10 pm) · 21 replies
I'm trying to print the prompt for the score on the screen. I used the statement...
DrawUtil.JustifiedText(ResourceManager.Instance.LoadFont("arial22"), new Vector2(0.0f, 0.0f), new SizeF(100f, 100f), TextAlignment.JustifyLeft, Color.White, "Score");
to try displaying something at the center of the screen. It compiles and runs but the text isn't there. Any ideas?
DrawUtil.JustifiedText(ResourceManager.Instance.LoadFont("arial22"), new Vector2(0.0f, 0.0f), new SizeF(100f, 100f), TextAlignment.JustifyLeft, Color.White, "Score");
to try displaying something at the center of the screen. It compiles and runs but the text isn't there. Any ideas?
About the author
Torque 3D Owner Will O'Reagan
Modern Intrigues
I second that josh