How to initialize game with C++?
by Peng Ye · in General Discussion · 12/04/2006 (6:45 pm) · 4 replies
I'm a newbie in Torque. I want to make a framework with C++.
Are there any tutorials, example applications using C++ with Torque? All the examples I see in the download seemed to be script files and no real C++ based examples.
Im looking for information like, how to Initialize the engine, how to initialize and setup the screengraph and anything else assocaited with developing with Torque and C++.
Any help would be greatly appreciated.
Thanks.
Are there any tutorials, example applications using C++ with Torque? All the examples I see in the download seemed to be script files and no real C++ based examples.
Im looking for information like, how to Initialize the engine, how to initialize and setup the screengraph and anything else assocaited with developing with Torque and C++.
Any help would be greatly appreciated.
Thanks.
#2
The framework is geared towards creating a game, so if you're trying to do something else then you may need to do more work. Also, if you're not creating a game you'll need to get a commercial license because you'll no longer qualify for the indie license.
12/05/2006 (7:57 am)
There's really no need to make a framework... when you license the game engine, it comes with a cross-platform framework, including an application framework, cross-platform networking, threading, GUI framework, etc. And you get the complete C++ source code.The framework is geared towards creating a game, so if you're trying to do something else then you may need to do more work. Also, if you're not creating a game you'll need to get a commercial license because you'll no longer qualify for the indie license.
#3
12/06/2006 (3:34 am)
What Tony said, pretty much. Most of the initialization is done in main.cpp and game.cpp and a little bit in script - which is easy to port over into C++.
#4
12/06/2006 (9:10 am)
Also, C++ threads should be posted in the private forums.
Torque Owner Badguy
you would utilize the currently in place application.
by simply following the application you can learn what components are initialized in what order.
I would recommend studying the current application before undertaking any monumental builds.
the project file for your given development environment will usually include all dependancy associations to build the library and the application.