Simple GUI guide ...
by Michael Schaumburg · in Torque Game Engine · 12/16/2002 (9:07 am) · 17 replies
Yes, maybe you here this often, but all I try to find is a simple guide how to build a new GUI. Lets say I want to have a simple transparent window where I pass a string to show the text inside this string. Can I build this only with the gui editor or must I code this in the engine ?? All the samples in the resource are much complex with changes in the engine code.
Thanks
Thanks
#2
thanks a lot, you pushed me into the right direction. Now I'm playing with the other controls, to see what to make with them. I hope if I have another question, I can ask you....
Michael
12/17/2002 (4:50 am)
Hello Jared,thanks a lot, you pushed me into the right direction. Now I'm playing with the other controls, to see what to make with them. I hope if I have another question, I can ask you....
Michael
#3
12/17/2002 (10:03 am)
Sure thing, I've been working with the GUI pretty hardcore for the past month or so, so I hope I can help.
#5
... a nice easy read, easy to follow, pushed me in the right direction too :)
--Mike
12/27/2002 (6:34 am)
Lemme add my THANKS also Jared...... a nice easy read, easy to follow, pushed me in the right direction too :)
--Mike
#6
07/04/2003 (7:39 pm)
Does anyone know where this (http://www.gug.ca/members/tourniquet) site vanished to? I'm interested in seeing the GUI guide mentioned here.
#7
07/06/2003 (1:56 pm)
Bill, I think that site was tied to the rest of Devon's guide, in whitch case it was destruyed in a server fire several months ago.
#8
07/06/2003 (3:52 pm)
Bummer. Anyone have a local copy to share as a resource or was that the only copy?
#9
My schedule is very very tight, but I expect that within the next week or two I'll be able to put the GuG server back online. Depends on there being no physical to the drive tracks or sectors, of course.
07/06/2003 (4:04 pm)
FWIW - I have received by Post the server disk from checkfire (the GuG server admin). It appears to be in good shape--slight smell of smoke clinging to it still.My schedule is very very tight, but I expect that within the next week or two I'll be able to put the GuG server back online. Depends on there being no physical to the drive tracks or sectors, of course.
#10
Tourniquet GUI Tutorial (disabled)
Ken,
I have archived the tutorial pages, if you find that you need them.
07/08/2003 (3:50 pm)
For a limited time, you can get an .mht copy of that specific page, here:Tourniquet GUI Tutorial (disabled)
Ken,
I have archived the tutorial pages, if you find that you need them.
#11
07/08/2003 (4:22 pm)
Thanks Dee. After seeing the GUI guide now I'm really intrigued about seeing the rest of the Tourniquet site.
#12
Pro-level.
I'll wrap the ones I can find (1-5 old, + 1 new) into a zip, and post them for others, for a bit.
I'm missing the recent update/changes though.
Hopefully, Ken will have good luck in recovering his drive.
07/08/2003 (7:24 pm)
They had the most impressive walk-through tutorials I've seen.Pro-level.
I'll wrap the ones I can find (1-5 old, + 1 new) into a zip, and post them for others, for a bit.
I'm missing the recent update/changes though.
Hopefully, Ken will have good luck in recovering his drive.
#13
I have converted it to PDF and you can view it on our site:
tork.zenkel.com/_tutorials/Coding-Scripting/Gui/Tourniquet5_GUI.pdf
Very cool tutorial!
07/08/2003 (10:55 pm)
Thx for posting it, Dee!I have converted it to PDF and you can view it on our site:
tork.zenkel.com/_tutorials/Coding-Scripting/Gui/Tourniquet5_GUI.pdf
Very cool tutorial!
#14
For a limited time, you can get some more of those tutorials here:
Tourniquet Torque Tutorials - Introduction, Starting Up, Bare Essentials, Mission Editor, GUI Editor and Planning and Documentation (from the newer Tut format)
They are extremely helpful for begginers - and useful as reference later on.
Get 'em while they last : )
Oh yeah, and the true thanks goes to Ken & crew, they took the time to create these gems.
07/09/2003 (3:35 pm)
I've zipped up and posted those I could find from my archives.For a limited time, you can get some more of those tutorials here:
Tourniquet Torque Tutorials - Introduction, Starting Up, Bare Essentials, Mission Editor, GUI Editor and Planning and Documentation (from the newer Tut format)
They are extremely helpful for begginers - and useful as reference later on.
Get 'em while they last : )
Oh yeah, and the true thanks goes to Ken & crew, they took the time to create these gems.
#15
07/09/2003 (5:56 pm)
Awesome. Very helpful and something everyone should have as a "must-read" for Torque users.
#16
I just read over my original work, god that guide has changed alot. Number 7 seems out of place that was chapter 2 in the second guide. I was going to continue on and show you lot how to make a full fledged game. I still plan to but I think I will have to make a game first ;)
If you liked that original version of that guide stayed tunned for Revision 2, almost double the content. I posted a chapter listing in the documentation forum somewhere.
07/10/2003 (1:06 am)
HAHAHA I feel like that guide I wrote is some kind of contraband being sold on the black market. To go to that much trouble just to get a copy of it. Congrats Ken ;)I just read over my original work, god that guide has changed alot. Number 7 seems out of place that was chapter 2 in the second guide. I was going to continue on and show you lot how to make a full fledged game. I still plan to but I think I will have to make a game first ;)
If you liked that original version of that guide stayed tunned for Revision 2, almost double the content. I posted a chapter listing in the documentation forum somewhere.
#17
04/06/2006 (11:56 am)
Does anyone still have a copy of the gui guide at this point?
Torque Owner Jared Schnelle
-Create a GuiTextCtrl.
-Position the control.
-Name the Control "TestTextControl"
-Save the GUI
-Exit Game
-Create a function in script that has the line:
TestTextControl.setText("This was my test");-Bind that function to a key, such as H.-Save everything
-Enter Game
-Press H.
Your text "This was my test" should show up where you placed the GuiTextCtrl.
The most important part of making a GUI is remembering to name the parts. They must have unique names so you can modify them on the fly, in script.
Next step, go back into the script and change the line to say:
TestTextControl.setText("Dumping stuff to console"); TestTextControl.dump();Enter the game, press H, then take a look at the console, so you can find out what you can do to the TestTextControl in script.
Hope that helps, if you'd like some more examples, let me know.