GUI Tutorial/Sample
by Andy S. · in Torque X 2D · 03/20/2008 (12:13 pm) · 4 replies
Hi,
i am still trying to get the hang of the GUI-System. Is there supposed to be a sample which includes a GUI like in the TorqueCombat Game in the 1.5 release?
Maybe someone has a very simple project which basically just starts up TX, renders a mainmenu and then when hitting a button it would start the game (load the scene)? And maybe also an included popup-GUI which can be called in game where one would change options.
I think something like this would also be a very nice StarterTutorial or sample that should be included in TX. Some kind of TX StarterGame Enhanced...it would come with a very simple GUI already built in. THis way it would be a lot easier for beginners to add more GUIScreens and basically get faster up and running with a little game.
Andi
i am still trying to get the hang of the GUI-System. Is there supposed to be a sample which includes a GUI like in the TorqueCombat Game in the 1.5 release?
Maybe someone has a very simple project which basically just starts up TX, renders a mainmenu and then when hitting a button it would start the game (load the scene)? And maybe also an included popup-GUI which can be called in game where one would change options.
I think something like this would also be a very nice StarterTutorial or sample that should be included in TX. Some kind of TX StarterGame Enhanced...it would come with a very simple GUI already built in. THis way it would be a lot easier for beginners to add more GUIScreens and basically get faster up and running with a little game.
Andi
#2
03/21/2008 (9:48 am)
Is your GUI system XML based Scott?
#3
03/21/2008 (12:29 pm)
It's in C# just like the current GUI. I imagine it would be possible to build a visual GUI editor that uses XML in the same way that TXB does for 2D scenes. I haven't done that though.
#4
Here in the forums the only help I've seen always talked about the torqueCombat game, but I could not get my hands on that one.
So a short simple example would be very appreciated.
03/27/2008 (10:33 am)
I would also love a gui tutorial, or even a sample since the doc really doesent say anything how one would go about creating one.Here in the forums the only help I've seen always talked about the torqueCombat game, but I could not get my hands on that one.
So a short simple example would be very appreciated.
Torque Owner Scott Goodwin