Game Development Community

Moving text on screen with mouse input

by Typiolin · in Torque Game Builder · 07/05/2006 (7:37 am) · 1 replies

I need to have strings of text moving on screen (these strings are going to be attached to objects).

I also need mouse input on the strings, to know when the user click on them, and be able to change their "look" on the fly (font, color, size).

What would be the best way to do that, since there is no "text" object in the editor ?

- Should I use the "t2dtextobject" (TGB add-on) ? (I would prefer not to modify the TGB source to avoid compatibility problems later)

- Or the GUI system ?

Any input or code sample are welcome :)

#1
07/05/2006 (9:15 am)
If your going to be doing mounting, and want a clean solution for what your wanting, the t2dtextObject is the best way to do this in my opinion, its written in such a way it doesn't touch any of the core TGB files, just extends it by adding a few source files to the project... I recently started using it, and I'm extrememly happy with its implementation.