Drifting Gui Controls
by Chris Labombard · in Torque Game Engine · 10/31/2005 (4:13 am) · 0 replies
I am experiencing something similair to this. My GuiTextCtrl 's drift evrey time I open my high score gui.
If I navigate to my high score page (as if I were a player) it looks like this:

If I hit the exit button (to go to the main menu), and then navigate back to the high scores page it looks like this:

Has anyone experienced this before? What could be the issue?
I suppose I should not that the width and height of all of the controls are set to be relative.
Also, they are inside of this:
If I navigate to my high score page (as if I were a player) it looks like this:

If I hit the exit button (to go to the main menu), and then navigate back to the high scores page it looks like this:

Has anyone experienced this before? What could be the issue?
I suppose I should not that the width and height of all of the controls are set to be relative.
Also, they are inside of this:
new GuiControl(scoresGui) {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 2";
visible = "1";
new GuiChunkedBitmapCtrl() {
profile = "GuiContentProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
bitmap = "./images/highscoresmenu";
useVariable = "0";
tile = "0";
...... // Guicontrols
}
}About the author
I have been a professional game programmer for over 5 years now. I've worked on virtually every platform, dozens of games and released a few of my own games, including 2 iPhone titles and a title waiting release on Big Fish Games.