Game Development Community

GUI problem

by Steven Hine · in Torque Game Builder · 11/04/2006 (2:32 pm) · 6 replies

I seem to be having a problem witht the gui builder. I make a t2dSceneWindow to see my level and then it seems to get changed or deleted. Anyone else had this problem?

[Add]
Ok, any help would be great. It seems that when I'm building gui's they get changed for some reason. They'll work one time and then won't. I have to go in and rebuild them one by one. This is very frustrating having to redo a lot of work. I am using torsion as my editor. Could this be the problem? i'm now doing a re-install.(Why I don't know...)

#1
11/06/2006 (12:33 pm)
Try to work with some demo's and look if you have the same problem
#2
11/06/2006 (1:34 pm)
Make sure you are exec'ing your saved gui scripts or your game won't have access to them and neither will the gui editor.

Voodoo gui editing tip of the day: Never toggle in and out of the gui editor. Go in one time and out one time. After you've gone out, don't go back in again until you restart the engine. Don't ask me why, I don't know. That's why I call it the voodoo tip of the day. I just know toggling in and out repeatedly with a gui will often screw it up.
#3
11/06/2006 (3:10 pm)
Thanks, I'll give it a try. I was toggling a lot...lol. Trying to get the gui to work like I wanted it too.

STeven
#4
11/09/2006 (12:35 am)
I think it also has something to do with changing the working resolution in the GUI Builder.
#5
11/12/2006 (8:38 pm)
Ok, I've done some experimenting...
First, the gui isn't changed in anyway after made, the code is all the same that is made by the GUI builder. the code for a working gui is the same when it isn't working. Meanning that I made the gui. It worked fine, when tested. But then when tested a second time it didn't work.
Second, the t2dsceneWindow is what is being messed up. And I can't just change settings in the gui builder. It has to be deleted and then put back in.

What I'm trying to do is have a level running in the background of my mainmenu. When it is working you can see the level behind the menu. When it doesn't work the menu shows but the level is black. The funny thing is that the gui file is not changed it just doesn't work.

Anyone have any ideas? Does anyone else have any problems like this?

Steven
#6
11/13/2006 (4:57 pm)
Try this and see if it solves your problem:
tdn.garagegames.com/wiki/TGB/MiniTutorials/Your_First_GUI_Tutorial

You may not have everything plugged in correctly.