Game Development Community

Outputting text to screen

by Mark J A Smith · in Torque Game Builder · 06/01/2005 (1:19 pm) · 4 replies

I tried searching for an answer, but wasn't sure of the terminology that would be used.

Essentially what I'm trying to do is outputting some text (for debugging for now) onto the screen, anywhere I want. I'm guessing I can do this with some GUI controls, but was wondering if there's a way to just slap some text onto the screen - for things like my own custom data watching, like number of onscreen bullets I have.

I guess I'm looking for something similar to Win32 GDI's OutputText.

Thanks!

#1
06/01/2005 (1:29 pm)
There is a C++ class made by Greg Lincoln for text display

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7396

-jeremy
#2
06/01/2005 (1:35 pm)
That's pretty much exactly what I was looking for!

Thank you kindly.
#3
06/01/2005 (3:34 pm)
For debugging, I generally use echo(). But if you need it real time, you can use that class.
#4
06/01/2005 (4:46 pm)
Personally, I tend to cram a GUITextCtrl into the UI, and just call .setValue on it if I need to.

Gary (-;