Game Development Community

Real-time drawing on GUI

by Gennady · in Torque 3D Beginner · 05/12/2011 (9:43 am) · 6 replies

Hi all!
So, how about the subject? I mean is it possible in general and how it can be achieved?
For example I need the graph, that figures out few characteristics of player etc. Is there any function like drawLine() or smth close to it?
Thanks!

About the author

Specialist of International center for professional training in Rosatom Technical Academy


#1
05/12/2011 (4:10 pm)
I've done it, but it took a few source code modifications.
#2
05/12/2011 (8:30 pm)
It's the only way? Is it possible that Torque hasn't the instruments to draw different traces (even if we forget about graphs)?
#3
05/13/2011 (6:52 am)
You can draw, but you need to create a custom GUI control to do it. If you want some kind of realtime graph, maybe you can fake it with a bunch of healthbars or something, but if it goes beyond the very simplistic, then I would recommend getting the source and creating a custom GUI control if that's what you really want it to do.
#4
05/13/2011 (9:17 am)
Ok, I understand. I'll try your method.
Thank you!
#5
05/13/2011 (9:29 am)
There is a GuiGraphCtrol that can be made to plot a line graph using up to 6 (I think) variables.... You can also do a lot of trickery with progress bars but without knowing more specifics about what you're wanting to do I'd have to second what Ted says.
#6
09/25/2011 (11:01 pm)
Solved