Outdated tutorials?
by Mike Judge · in Torque Game Builder · 08/23/2007 (9:37 pm) · 5 replies
I've been working through the GUIScoreAndTime tutorial, but I can't get past the first few steps without crashing the Builder.
Paraphrased from http://tdn.garagegames.com/wiki/TGB/MiniTutorials/GUIScoreAndTime :
The third step is where the tutorial goes awry. The builder doesn't seem to have a leftmost listbox for creating controls so I clicked "toggle palette", and dragged a GuiControl onto the workspace. At this point though, the builder crashed.
Crap, I'm so confused. Is GuiModelessDialogProfile broken? Anyone have any tips?
Paraphrased from http://tdn.garagegames.com/wiki/TGB/MiniTutorials/GUIScoreAndTime :
Quote:1. Once in the GUI Builder, select 'File>New Gui...' from the menu and enter the name "ScoreboardGui". Leave "GuiControl" as the GUI Class and click 'Create'...
2. Select 'GuiControl - ScoreboardGui' from the tree view at the top right, then below in the settings panel under 'Parent' set 'Profile' to 'GuiModelessDialogProfile'.
3. In the leftmost listbox at the top of the screen, scroll down and select 'GuiControl' to add a new GUI panel to this GUI.
The third step is where the tutorial goes awry. The builder doesn't seem to have a leftmost listbox for creating controls so I clicked "toggle palette", and dragged a GuiControl onto the workspace. At this point though, the builder crashed.
Crap, I'm so confused. Is GuiModelessDialogProfile broken? Anyone have any tips?
About the author
#2
I'd abandon the Gui Builder too, but it seems to be the only way to render anti-aliased text at regular font sizes .
08/24/2007 (11:49 am)
Thanks for the response. I'm glad to hear that I'm not the only one struggling.I'd abandon the Gui Builder too, but it seems to be the only way to render anti-aliased text at regular font sizes .
#3
Hope that helps,
I'm not sure if your suppose to be able to add a guiControl ontop of a guiControl but whatever.
08/29/2007 (3:01 am)
I ran into this same issue when I was trying to get the GUI to work. Since this guide was created for an obviously different version of the GUI. The steps might be wrong. I know that I've been able to make gui's and have them work using the principles that are in the GuiScoreAndTime tutorial. This problem appears to appear when you drag another GuiControl over ontop of the previously created GuiControl that is the parent and that you made GuiModeLessDiaglogProfile. So, I downloaded the project folder and opened up their gui and deleted everything that was on it and copied it over. So I would have it to work with. that seemed to work. http://tdn.garagegames.com/wiki/TGB/MiniTutorials/GUIScoreAndTimeHope that helps,
I'm not sure if your suppose to be able to add a guiControl ontop of a guiControl but whatever.
#4
08/29/2007 (1:44 pm)
Thanks for reporting this issue, unfortunately TDN is mainly community supported. It's wiki based so if someone finds a way to accomplish this task feel free to edit the tutorial with the fix :)
#5
So you can first use "GuiDefaultProfile" on the parent gui. After you set everything alright in Gui Editor, you can edit the .gui file and change the profile to "GuiModelessDialogProfile" again if necessary.
I don't know why it's like that but that's how I handled it.
05/31/2009 (4:28 pm)
It seems like it will crash after drag another "GuiControl" class object onto the gui only if you gave the parent gui a "GuiModelessDialogProfile" profile.So you can first use "GuiDefaultProfile" on the parent gui. After you set everything alright in Gui Editor, you can edit the .gui file and change the profile to "GuiModelessDialogProfile" again if necessary.
I don't know why it's like that but that's how I handled it.
Torque Owner John Turner
I have now done without gui builder and use static sprites for making own gui controls etc
Sorry I got no help here - but am waiting for same answer