Page 1 of 1

C++, Directx, DirectDraw, Game engine?.. How does it relate

PostPosted: Tue Apr 27, 2010 10:30 am
by chrisevil
Just for interests sakes... What thing basically does what thing?
Game engine(bunch of functions/classes) built on C/c++ to which gives directx/directdraw directions on what to show on the screen? And directx/draw sends out all the linear aglebra calculations to a gpu which in turn shows what what on your screen?..

Just interested... =)

Re: C++, Directx, DirectDraw, Game engine?.. How does it rel

PostPosted: Wed Apr 28, 2010 8:49 pm
by chrisevil
Not a single reply? =/

There has to be someone?

Spare a thought somebody!

Re: C++, Directx, DirectDraw, Game engine?.. How does it rel

PostPosted: Wed Apr 28, 2010 9:27 pm
by Hblade
I dont know, sorry :(

Re: C++, Directx, DirectDraw, Game engine?.. How does it rel

PostPosted: Thu Apr 29, 2010 4:38 am
by chrisevil
Hey Hblade you seem like a regular dude around here =D. Do you have any programming knowledge? How long have you er been making games with game-editor?
=)

Re: C++, Directx, DirectDraw, Game engine?.. How does it rel

PostPosted: Thu Apr 29, 2010 5:56 am
by linkshards
chrisevil wrote:Just for interests sakes... What thing basically does what thing?
Game engine(bunch of functions/classes) built on C/c++ to which gives directx/directdraw directions on what to show on the screen? And directx/draw sends out all the linear aglebra calculations to a gpu which in turn shows what what on your screen?..

Just interested... =)

Having a hard time trying to understand your question here. ;o

Are you trying to ask how the computer places images on your screen using DirectX?

Re: C++, Directx, DirectDraw, Game engine?.. How does it rel

PostPosted: Thu Apr 29, 2010 6:24 am
by Hblade
I've been making games here since 2006.

Re: C++, Directx, DirectDraw, Game engine?.. How does it rel

PostPosted: Thu Apr 29, 2010 7:56 am
by chrisevil
!!!!!!!!! I wrote so much stuff and closed the tab by accident! DAMit.. I gotta get a keylogger!

Anyway, what I wanted to say:

C++ is your programming language/translator that sends calculations (basically) 'machine/assembly' code to your hardware.
On a side note does this mean all languages translate to machine/assembly code? Or back to C++?

DirectX is a collection of APIs developed by microsoft.
DirectDraw is a 2D API of it.
Direct3D is a 3D API of it. (So I am guessing it does/constructs all the uh linear algebra calculations).
OpenGL is a cross platform 2D/3D API.

What a Game engine is? (rendering/collision engine) =/ I'm stumped .

Isn't OpenGL/Direct3D a rendering engine?



You might call me geeky.. But it's rather interesting to know? =)

What happens in game-editors line of production?

Re: C++, Directx, DirectDraw, Game engine?.. How does it rel

PostPosted: Thu Apr 29, 2010 3:44 pm
by linkshards
Hmm... I can't say much for DirectX, but what I can tell you is that no matter the language, depending on the compiler that you have, it all turns into binary (machine) code. However, I'm not sure if it turns back into the high-level language you write with, but if I had to guess, I would say it does.

Re: C++, Directx, DirectDraw, Game engine?.. How does it rel

PostPosted: Fri Apr 30, 2010 12:29 pm
by chrisevil
What do you mean turns back?..

If machine code to do (4 x 4) =
do 4 to a
do a + 4 to b
do b + 4 to c
do c + 4 to d
return D.

Regardless if its binary or not.

But would all programming languages 'translate'
echo 4*4;

print 4*4;

look do 4 (*) 4;

do sum add
math
{4 mul 4;
}

etc?