Game Development Community

Gui Pop-up on start

by Jon Ray · in Torque Game Engine · 09/21/2005 (6:29 pm) · 2 replies

How would I go about doing this?

1) Clicking Connect - mission.mis loads (I've got this working)
2) Game world loads up
3) Before the character can move or do anything within the game world, a Gui pops up having the player input their name.

Is there no way to pause the game screen once they are in the world?
If not, then I'll just have to make a Character creation screen before the mission loads.

LJR

#1
09/21/2005 (7:07 pm)
A good place to start would to be downloading Realm Wars though CVS. That's where I would start. It has a Character Selection Screen and more.

-Stephen
#2
09/21/2005 (8:27 pm)
Quote:
Is there no way to pause the game screen once they are in the world?

in game.cs

function GameConnection::onClientEnterGame(%this) is where you spawn the client, setup the camera, and give them control. just move what you dont want to another function, pop your name gui there instead. Then call the new function after they click go..


make since?

edit: but if your just wanting to force a name selection prior to loading, JoinServergui already has one..just make it required before they can try to connect..