Game Development Community

Single Player games

by Bolek · in Torque Game Engine · 05/28/2004 (3:57 pm) · 5 replies

So far from my explorations of the engine it seems that there is always something to do with server/client implementations. Like separate folders, tutorials mentioning to do this in client, that in server. What if I want to create a purely single player games, no network support needed in any shape or form. Is torque a viable platform for single player games?
Thanks.

#1
05/28/2004 (4:13 pm)
I'm using it as a SP engine right now without an issue. (Though my game will ultimately be multiplayer.) Dark Horizons:Lore does the same thing.

If you plan on making an entirely single player game, however, the out-of-the-box setup of Torque might not be the most optimal for the long run. When you start a local game, you're starting the server process and connecting to it locally. You could probably cut a lot of overhead by overriding a lot of the server/client stuff-- for example, the server process stores copies of all objects, and so does the client process -- But that might require some pretty heavy C++ code changes. Someone with more experience with the net code might have a better clue on how hard it would be strip it all out.
#2
05/28/2004 (4:56 pm)
I see.
I would really like to use Torque for a single player game. For a long time I have been thinking about one game, I have it all thoguht out and Torque really would suit my needs for it.
So if there i anyone who could help me with this, I would appreciate it very much.
#3
05/28/2004 (5:16 pm)
It is not practical to rip out the client/server implementation, but there is no need, for "local" games it short cuts and does not use any of the network code anyway.
#4
05/28/2004 (5:51 pm)
Ok, great, thanks!
#5
05/28/2004 (6:40 pm)
Expanding on what everyone else wrote, Marble Blast is a completely single player game that uses Torque.