Basic GUI Questions
by Bill Hayes (Hayes New Media) · in Game Design and Creative Issues · 04/29/2010 (11:56 pm) · 4 replies
I'm trying to put together my HUD, and i'm a having a problem, i've searched around the forums, and pulled some hair, and still cant get this to work...here's my beef:
I've got my HUD image, and I pop open the GUI editor in-game, and create a GuiCtrl as a child of the PlayGui, then I make a GuiBitmapCtrl inside with my HUD image. When I exit the editor after saving, it works fine, but when I exit the game and reload it, my mouse cursor is visible, and I can't look around. I can still move and run though. My thought is that the Gui is taking control over the mouse, expecting some sort of interaction...Any suggestions?
I've got my HUD image, and I pop open the GUI editor in-game, and create a GuiCtrl as a child of the PlayGui, then I make a GuiBitmapCtrl inside with my HUD image. When I exit the editor after saving, it works fine, but when I exit the game and reload it, my mouse cursor is visible, and I can't look around. I can still move and run though. My thought is that the Gui is taking control over the mouse, expecting some sort of interaction...Any suggestions?
About the author
I'm pretty much a jack of all trades, with an extreme passion for learning all things relating to 3D game design, especially art pipelines and asset creation...
#2
04/30/2010 (4:32 am)
I don't see that anywhere...I tried adding it in the PlayGui script, and it shows up as a dynamic field...but it doesn't change anything. Also when I delete both new items from the Gui, it still gives me a mouse cursor, The only way to fix it is to replace my PlayGui script...
#3
04/30/2010 (4:50 am)
Okay, so I figured out what it was, I had to add the noCursor = "1"; to the actual playGui function in the script, as well as set canSaveDynamicFields = "1"; Thanks a ton Nicolas!
#4
1. Easy to use.
2. Eye appealing.
3. Provides necessary features.
4. Well organized so it accomplishes the required task.
-------------------------------
http://logodesignswork.com/
06/08/2010 (6:16 am)
Hmm.1. Easy to use.
2. Eye appealing.
3. Provides necessary features.
4. Well organized so it accomplishes the required task.
-------------------------------
http://logodesignswork.com/
Torque 3D Owner Nicolas Buquet