Game Development Community

Multiple projects

by Backman · in Torque Game Builder · 02/26/2007 (2:15 pm) · 2 replies

I wonder if is possible to swap between different projects in the same game
ok, it's sound confusing..basically we're working on a game that has 2 different "game style", an RTS and a Shoot'em up, actually made in 2 different projects.
So can I "call" the Shoot'em up game from the RTS game, with relatives variables and functions, or I must recreate the Shoot'em up as a different level of the RTS project?
sorry for the confusion

Thanks in advance.

#1
02/26/2007 (2:37 pm)
@Pac, you could very easily 'restart the engine' (virtually, if you wanted too) and load the other project -- you could also place both existing projects inside of a new project, then wrap the two existing projects into 'packages' call them RTSPackage and FPSPackage for example ... then just switch to which ever package you want to based on GUI input ... then your calling semantics are the same through the rest of the game play ...

"Fast Arcade" was just recently released, and it has code provided with it that shows a great use of the TorqueScript Package System to implement 'multiple games in one'
#2
02/26/2007 (3:19 pm)
Thanks a lot David, this is a great news :-)