Wanted: GUI for Beginners
by Jonathan Wood · in Torque Game Builder · 09/26/2009 (1:47 am) · 6 replies
I am looking for some help, I want to create a few GUI's, one is going to be a player creation GUI, so I need to know how to have a textbox control that allows people to type in names and limit the amount of characters to less than 12 with no special character entry, then the next GUI will be stats gui that shows some random numbers that give the player the ability to increase or decrease these values with a +/- next to the number (+ above the -), finally some buttons that allows the player to navigate from one gui to another with a next / previous and then a submit / save type button that can be scripted. Is there anything laying around that covers GUI's in TGB ?
One that covers things like:
List Box
Text Box
Label
Group Box
Background Image for Button
Click Events
Filters
Combo Box
Check Box
etc
?
One that covers things like:
List Box
Text Box
Label
Group Box
Background Image for Button
Click Events
Filters
Combo Box
Check Box
etc
?
#2
Jay Jennings
10/10/2009 (3:19 am)
A couple weeks ago I started playing with the GUI and then had to put it aside to work on stuff that pays the bills. =:( Hopefully I can get back to it soon, but if you find a good source before then, please put up a link!Jay Jennings
#3
But! There is some good GUI documentation over at TDN.
Designing GUIs in Torque takes a while to get used to. But what you've described is quite possible with it.
10/10/2009 (3:31 am)
There won't be anything that covers your example as it is very game specific.But! There is some good GUI documentation over at TDN.
Designing GUIs in Torque takes a while to get used to. But what you've described is quite possible with it.
#4
10/10/2009 (11:10 am)
Thanks for the wiki link, I am going to convert all that information from the wiki to pdf's so I can use them with an e-reader.
#5
10/10/2009 (1:28 pm)
To add to confusion - in TGB you can of course make GUIs with both TGB Scene Editor (as your game would be) or the stock GUI Editor :)
#6
10/11/2009 (1:07 pm)
Buttons are easy, especially since they can be scripted normally like Matt said, but I'd like to see a tutorial that explains how to get different pieces of the GUI working in common ways, like a small decorated window with a scroll bar. Is there one already available that I'm not seeing? The OPs requested features are common as well, and it would seem like this would have been documented by now with TGB being around for years.
Torque 3D Owner Jonathan Wood
JBWood Studio