Game Development Community

Coding in c++ and not torquescript...

by Jared C. Matthews · in Torque Game Engine · 10/29/2006 (5:30 pm) · 6 replies

I am searching for a c++ game engine that provides a complete c++ api. I see you can use Torquescript for logic. Is this manditory??? Does the torque engine provide a c++ api that allows you to create you games all in c++ without scripts and other languages?

About the author

Recent Threads


#1
10/29/2006 (5:44 pm)
All engines have a kind of script they use even Unreal. Script help make the game more efficient and run faster.
#2
10/29/2006 (5:55 pm)
Quote:All engines have a kind of script they use even Unreal. Script help make the game more efficient and run faster.

It actually does the opposite. A well coded game in C++ will run faster and more efficently than one with script. What it does allow you to do though is produce game logic about 5x faster than in C++. For me its a no brainer, I'll take coding speed over game speed anyday.
#3
10/29/2006 (5:56 pm)
It is not manditory that TorqueScript be used for game logic. There isn't exactly a generic API, either. Torque Game Engine is like a fully functional game where you pull out the things you don't want and add the things you do want. As a pure C++ coder, it takes a while to get comfortable with this style of writing a game. But after a few tiny projects and tutorials, you'll find that you get deeper into the project much sooner than you would with a generic API.

You'll find that TorqueScript becomes more and more useful as you progress. I almost always implement the next set of functions/items/actions in TorqueScript. Then, if I find it would be easier or faster in C++, I convert the code to C++ (which never takes very long).

You should look at tutorials for Torque Game Engine and then for Crystal Space (a C++ game engine API). TGE tutorials almost always start with "change/add this script file". CS starts with "here is the generic 100 lines you need to get a lit cube with a camera visible on the screen". It's up to the individual to know what will work best for them.
#4
10/29/2006 (6:14 pm)
If you want a game engine which only uses c++ why are you considering torque? theres dozens of other engines out there.
#5
10/29/2006 (8:14 pm)
C++ with no scripting ? C4, i'd think.

Although, for the life of me, I can't imagine why you'd want to do that.