Game Development Community

TGB 1.5 - Gui open not working

by Phil Carlisle · in Torque Game Builder · 07/12/2007 (10:51 am) · 5 replies

Create new project

Create new gui

Save gui

Try and open a gui.. nothing happens.

Whats also weird, is that mainScreen.gui which I assume is generated with a new project, also isnt available to edit. So I guess theyre not "exec'd" somehow.

#1
07/12/2007 (11:11 am)
It's a moved directory issue--the GUI editor probably should default open to the new directory, I agree.

What's going on is that the GUIs for the level builder are completely isolated from the game guis now--game guis are stored in /game/gui which is not the default directory you are in when you hit File->Open Gui.

Once you do reset the directory (first time you load mainScreen.gui for example) it should remember where the directory is, and work there.
#2
07/12/2007 (11:16 am)
Stephen: bit of a different thing here. I'm getting NOTHING. I mean no dialog up to pick a gui.. nothing.

I can pull up some other of the file functions and they default to a weird directory too. But for "open gui" I get nada :)
#3
07/12/2007 (11:17 am)
You sure you are using the latest build? CND here...

EDIT/ADD:

How did you get your project directory set up? The "new" process implies having used the "Create Project" from the Setup Screen, which is what sets up your standard directories and such, as well as saving the working directory path internally.
#4
07/12/2007 (4:34 pm)
Weirdly enough, I closed TGB and opened it again and the dialog showed up. It was created from file->new project, gave ita directory and project name.
#5
07/19/2007 (2:45 pm)
Similiar issue but on saving instead.

When I open, I get the proper ~/game/gui directory..but when I save it, it takes me to the level editor gui directory.

Vista works properly. This issue appears on my XP machine.

Tested it by creating a new project. Open gui, checked folder it was opening then clicked Save and it put me in the level editor gui path.

edit :
Just to clarify, it never remembers the directory. So every save I have to re-navigate to the game/gui folder.