Game Development Community

Problem with TGB Gui tutorials.

by Mike Horan · in Torque Developer Network · 10/13/2008 (3:41 pm) · 3 replies

Hey,

I tried getting into the Gui tutorials, and they all pointed to the "Score and Time" tutorial as the best one to begin with, but after the very first step, I ran into problems.

The first thing you do is create a new gui. Easy enough.

After that, it tells you to "select 'GuiControl - ScoreboardGui' from the tree view at the top right, then below in the settings panel under 'Parent' set 'Profile' to 'GuiModelessDialogProfile'."

I went to the side panel (which is not labeled "settings," but I digress...) and the only drop down menu labeled "profile" does not contain the long list of profiles shown in the tutorial. It only has 5 things in it:

ExampleButtonProfile
ExampleScrollProfile
ExampleTextProfile
ExampleWindowProfile
GuiDefaultProfile

I skipped this, and went to the next step, but many of them wanted different controls set to even more profiles that did not exist in the drop down menu.

The tutorial was obviously done in windows, and I'm using a mac. Would that matter?

Is there a newer beginner Gui tutorial out there?

Does the new version of TGB do things differently in regards to the Gui editor?

Are there any resources or info on making a "heads up display" gui the likes of which are seen in RTS games?

Thanks,

-M

#1
02/03/2009 (3:58 pm)
Hi Mike,

I've been stumbling through these tutorials as well and encountered the same problem (I'm on a Windows machine).

When I was looking through the folder structure of my game however, I found in [yourGameName]/common/gui/ the "profiles.cs" file. I would try copying this over to your [yourGameName]/game/gui/ folder. Then try the tutorial again and see if the 'GuiModelessDialogProfile' shows up in the GUI editor.

-Mike Mashayekh
#2
02/19/2009 (10:48 am)
I'm experiencing the same problem and i've been trying to find out how to get around it for a while.
I don't think that its a O/S problem because i'm also in a Windows environment.

Michael thanks for your suggestion but it didn't work for me.
If possible could someone please assist and come up with a solution to this problem.

Thanks in advance
#3
06/28/2009 (2:38 am)
Solution is here:

http://www.garagegames.com/community/forums/viewthread/68315