GUI problem
by Nancy Lee · in Technical Issues · 09/06/2008 (12:59 am) · 3 replies
Hi, not sure whether this is posted in the right block.
I am doing a non-fps game, and now it comes to the GUI part. Whenever I add something to the playGui, even only a TextControl or NameHud, after I restart the game, my camera doesn't move at all(even without any coding).
Anyone has encounted the same problem? anyway that I can solve it?
Thanks a lot.
I am doing a non-fps game, and now it comes to the GUI part. Whenever I add something to the playGui, even only a TextControl or NameHud, after I restart the game, my camera doesn't move at all(even without any coding).
Anyone has encounted the same problem? anyway that I can solve it?
Thanks a lot.
About the author
#2
09/06/2008 (6:28 am)
Another thing you may try is making sure your new code isn't inside another container.new GuiBitmapCtrl(BottomPrintDlg) {
profile = "CenterPrintProfile";
horizSizing = "center";
vertSizing = "top";
position = "45 375";
extent = "550 20";
minExtent = "8 8";
visible = "0";
helpTag = "0";
bitmap = "./hudfill.png";
wrap = "0";
new GuiMLTextCtrl(BottomPrintText) {
profile = "CenterPrintTextProfile";
horizSizing = "center";
vertSizing = "center";
position = "0 0";
extent = "546 12";
minExtent = "8 8";
visible = "1";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
};
};Both of these are bound together. Make sure to add your new code outside that container. (ourside the last closing brace)
#3
09/07/2008 (2:12 am)
Thanks so much, got it working now.
Associate James Ford
Sickhead Games