Single player Game Project - Need advice
by John Eric Miller · in Torque Game Engine · 03/06/2004 (4:33 am) · 5 replies
I would like to use Torque to create a single player adventure game. It appears the examples use a client server implementation. How do I work with this to create a single player game? Any help in getting started would be greatly appreciated.
#2
03/06/2004 (8:19 am)
To simulate a single player only, I would guess you could just have the game automatically launch the server and connect to itself without the user having to do it manually. Then it would give the appearance of just a single player game.
#3
In other words, don't worry about it, and you might even think that leaving the actual Net stuff will allow you to debug remotely during development, run around on a level with teammates, use Ignition when you publish with GG, have a nifty autopatch tool when your customers find all those bugs you thought were "features" ;), etc.
03/06/2004 (8:33 am)
Erh, Gary, that's already done for you when you start Torque on a one machine : ie if you don't try to connect on a network server (LAN or Intarweb, doesn't matter), you will start a local "listen" server which your "client" will connect to, all in the same application memory space.In other words, don't worry about it, and you might even think that leaving the actual Net stuff will allow you to debug remotely during development, run around on a level with teammates, use Ignition when you publish with GG, have a nifty autopatch tool when your customers find all those bugs you thought were "features" ;), etc.
#4
03/06/2004 (2:50 pm)
That's what I figured; so really like you said, there's nothing to worry about.
#5
03/06/2004 (4:30 pm)
I figuared you have it the same as it is, but make a trigger that changed pref::Client::leval = your level, and have the join game dialog, show levels that have that access
Torque Owner Thomas \"Man of Ice\" Lund
Then again its so well integrated that you wont know the difference. Run the game on a "local and hidden" server with just 1 player - just as the examples do.