Game Development Community

Please Help: GuiControl

by Travis Hoffstetter · in Game Design and Creative Issues · 07/25/2006 (1:50 pm) · 2 replies

I am trying to make a menu pop up in game, very similar to the "do you want to exit" menu from the fps starter kit. I looked at the exit menu and tried to make mine the same. However when my menu pops up, the screen around the menu window shakes and the mouse cursor leaves a trail.

I start by making a new gui of type GuiControl. Then I add a GuiWindowControl and a GuiMLtextCtrl with sample text on the window. I have looked at the exit menu gui (MessageBoxYesNoDlg) and my own gui and I can't see any differences. I even made a GuiControl and then pasted in the exit window provide by GG and I still got the same error.

Do I need to start with a different gui type than GuiControl or add a command or something? Thanks, for any help in advance.

#1
08/04/2006 (10:36 am)
I believe it is because you have a made a new gui which has nothing but the dialog box. This means that it renders nothing around the box, but does not update the old image that was here. I read a guide to making a similar thing last week, and i'll see if i can find you the link.
#2
08/04/2006 (10:40 am)
Http://www.garagegames.com/docs/tge/general/ch03s04.html