Help gui push dialog
by David T. Thompson · in Torque Game Engine · 11/14/2004 (4:00 pm) · 3 replies
I am attempting to create a main menu similar to that of Deus Ex. The idea is that the game loads to a screen with a rotating symbol. When the user clicks his or her mouse it opens a menu.
I am trying to do the same thing without the fancy rotating symbol. I have a background on my canvas and I just can't seem to get a click event to open my main menu dialog box.
Does anyone know how to do this?
I am trying to do the same thing without the fancy rotating symbol. I have a background on my canvas and I just can't seem to get a click event to open my main menu dialog box.
Does anyone know how to do this?
About the author
#2
12/01/2004 (9:14 pm)
I would suggest setting a breakpoint in the GuiCanvas's mouse handling code, in C++, which is responsible for sending events to the right place. Single stepping down will show you where it's going and let you know where it's getting lost, if anywhere. Or you can try a whole bunch of potential script callbacks and just put stubbed echo statements in them to see what's getting fired.
#3
12/02/2004 (7:51 am)
Ok Thanks. I will give that a try.
Associate Kyle Carter