Game Development Community

Main Menu

by Stephen · in Torque Game Engine · 08/13/2005 (9:02 am) · 8 replies

How can you make a main menu like in Half-Life 2? Where it loads a map for the main menu.

#1
08/13/2005 (9:22 am)
Just make a GUI that displays an image from the map.... pretty easy to do.
#2
08/13/2005 (10:28 am)
What I would do is create a localhost 'server' when the game is started, much like HL2 does.. and display the menu on top of that.
Like a GameTSControl but with the mainmenu infront, take a look at the playGui.gui/cs if you're curious.
#3
08/13/2005 (10:47 am)
I'm having some problems getting this to work. First, what I did was started a game and then went to the GUI Editor and created a GameTSCtrl. It showed the map in the GameTSCtrl, so then I made a new GUI using that GameTSCtrl and added the Start Mission button and the other buttons. Then in the "function loadMainMenu()" on init.cs (client side) I change the "Canvas.setContent" to the GUI that I made. Well it doesn't display anything so then I added this "createServer( "SinglePlayer", "starter.fps/data/missions/Starfallen.mis" );" to the function. I still get the samething so I checked the console and there are no errors. I'm stuck and not sure what to do. Any ideas ?

Thanks
#4
08/13/2005 (12:24 pm)
Hi,

Have you tried using the google search?

Search for "main menu mission"
#5
08/13/2005 (1:24 pm)
Thankyou Ben,

I just forgot to use the google search. Well I won't forget to use the google search.
#6
08/13/2005 (5:37 pm)
Right on. I hope the results I linked to help you out. :)
#7
08/13/2005 (6:17 pm)
Yes that linked worked. That was what I was looking for. Thanks again!
#8
08/13/2005 (6:44 pm)
Oh, thats what you want to do :-\

Sorry, I thought you meant the mission select screen. :(