Game Development Community

1.5 GUI editor bug?

by Alberto Botero · in Torque Game Engine · 11/22/2006 (3:23 pm) · 3 replies

Anytime I make any changes to the playGui and save them and restart torque, all camera control for the mouse is removed... any ideas?

#1
11/22/2006 (3:29 pm)
Open PlayGui.gui and look for:

new GameTSCtrl(PlayGui) {
profile = "GuiContentProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
helpTag = "0";

You need to add:
noCursor = "1";

to the GameTSCtrl block:

new GameTSCtrl(PlayGui) {
profile = "GuiContentProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
helpTag = "0";
noCursor = "1";
#2
11/22/2006 (3:30 pm)
And yes, this is a bug. You need to make the change manually every time you edit and save your playgui.
#3
11/22/2006 (3:38 pm)
Thanks!! I checked the file and...
noCursor = "1";
was still there but it was indented... I have NO IDEA why this would matter, but when i removed the indentation it fixed.

Thanks again :)