Menu bar not visible in full-screen mode
by Zachary Zwiebel · in Torque Game Builder · 08/23/2007 (1:38 pm) · 2 replies
Hi everybody, I've just purchased an indie license for TGB after trying out the trial on my Mac. When I try to run it on my PC (this machine), TGB starts in full-screen mode and I can't see or use the menu bar. How do I switch to windowed mode? Alt-enter doesn't work, and searching the documentation or these forums for relevant information is practically impossible since any search for "windowed" or "fullscreen" turns up something about the game display rather than TGB's display. Please help! :(
About the author
Recent Threads
#2
Anyway, once I was in the console, I tried the ToggleFullScreen() function, which I had assumed only worked for a game. It didn't work the first time I tried it, but it did give me an error message, something along the lines of "This device or color depth does not support windowed mode". Now, I had been able to get windowed mode working on a different PC using a different type of monitor, so I changed the resolution on this one from one with a 1.33:1 ratio (1280x960) to one with a 1.25 ratio (1280x1024) and tried to ToggleFullScreen() again. This time it worked perfectly. Thanks for the help!
08/28/2007 (11:07 am)
Success! Even though I wasn't able to find any sort of fullscreen toggle in the options menu, you did provide me with access to the console within TGB. Most other posts I've read dealing with the console only tell you how to open it in the game, and not in the editor. I'll be embarrassed if I find that ctrl~ command somewhere in the documentation.Anyway, once I was in the console, I tried the ToggleFullScreen() function, which I had assumed only worked for a game. It didn't work the first time I tried it, but it did give me an error message, something along the lines of "This device or color depth does not support windowed mode". Now, I had been able to get windowed mode working on a different PC using a different type of monitor, so I changed the resolution on this one from one with a 1.33:1 ratio (1280x960) to one with a 1.25 ratio (1280x1024) and tried to ToggleFullScreen() again. This time it worked perfectly. Thanks for the help!
Torque Owner Spider
2)type:
[code]
canvas.pushdialog(optionsdlg);
[\code]
you should be able to find resolution/fullscreen controls in that little options dialog.
I HAVE had the experience of not being able to get out of fullscreen on some machines, however, and I'm not sure why. Hopefully the above method works for you