View Full Version : Game designers???


Ghost III
11-10-04, 10:49 AM
do they use c++ as their script or somthing else??

Closet Philosopher
11-10-04, 12:38 PM
It depends on what program you are using.

Ghost III
11-10-04, 12:42 PM
ooohhhhhh

Stryder
11-13-04, 07:41 PM
The way games designers work nowadays they usually build an engine in C++ which has it's own internal language structure which they have developed specifically for building games.

You can find most of this out though if you check out some Andre LaMothe books, since he has written some helpful ones explaining how to build 3D graphics engines in C++, it's just up to the programmer to design their "internal" language for their engine.

You can check something like the Unreal Engine<sup>TM</sup> to get an idea of their internal script commands (Usually found in 3D games by bringing up the commandline interface with a ~ tidle key) Admittedly the "Runtime" engine is far different from the "Development engine" however thats usually accounted for in some games with their "Level editors". The real complex pieces usually are the fact that Level editors don't cover some of the special things that are done with their Development engine and why a homemade level can lack some of the things that are done in the games.

AntonK
11-13-04, 09:10 PM
C++ is meant for developing code closer to the hardware than a scripting engine. For a scripting engine, sometimes games develop their own language that is usually based on some language that is already developed, or they simply integrate a scripting language into the game, such as Lua, Ruby or Python. All of these languages are uber powerful and pretty easy to integreate into C or C++ code.

-AntonK

river-wind
11-15-04, 10:59 AM
the positive of C++ is it is well known, allows pretty good OO programming, and has very good optimising compilers. Bad side is that the overhead of managing all the libraries, etc, usually causes a 10% speed drop over regular C code.
So more often than not, many games are mixture of C-based OpenGL or DirectX (Actually, I think DX9 might be written in C#) function calls, C++ physics and game engine code, and assembly (the most basic human-readable coding level. instead of "x:=x+1" it looks like "read a memaddress(x00952); write a+1 memaddress(x00953);"


Scripting engine: human-readable code that is turned into machine code (binary) and executed at runtime,- ie, while the program is running. This allows you to make modifications and test them in real-time. This also causes a hit in performance, as the machine has to interperate the code one line at a time before it is executed.
Compiled program: code that is written in one of many possible languages that is turned into machine code by a special "compiler" program prior to running the application. Most ".app' and ".exe" programs were once a human-readable text file, then compiled into a machine-executable application by a compiler.

Ghost III
11-16-04, 02:12 AM
thanks guys big help!!!

Ghost III
11-16-04, 01:50 PM
are there any engines or programs you can get your hands on??

Dilbert
11-16-04, 02:41 PM
well, there are several ways to start.
I started with Microsoft Visual Studio and used free engines for non-commercial use such as www.revolution3d.net and www.truevision3d.com (i would recommend the latter)
TrueVision3D is a multi-language supported 3D engine so you can use it in C++, VC++.net, VB, VB.net and C# and Delphi too i think.

The tuturials and the developer files are really great so it is a good way to start.
Otherwise there are other alternatives such as DarkBasics (think that is the name) and other "Game makers".
There are tons of free engines on the net; and then there is always the DX SDK for you to use too if that would be of any interest to you.
And much, much more.

Ghost III
11-17-04, 02:11 AM
thanks ill try truevision first

sargentlard
11-17-04, 06:30 PM
are there any engines or programs you can get your hands on??


I know very little about this field but www.blender.org has a game engine built it and it is free so give it a try.

Combine
11-30-04, 07:46 AM
i have tried the turevision and its great thanks Dilbert

Dilbert
11-30-04, 09:21 AM
no problem, just happy to help.