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

Game Editor comments and discussion.

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

Postby chrisevil » Tue Apr 27, 2010 10:30 am

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... =)
chrisevil
 
Posts: 14
Joined: Sun Apr 25, 2010 1:31 pm
Score: 0 Give a positive score

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

Postby chrisevil » Wed Apr 28, 2010 8:49 pm

Not a single reply? =/

There has to be someone?

Spare a thought somebody!
chrisevil
 
Posts: 14
Joined: Sun Apr 25, 2010 1:31 pm
Score: 0 Give a positive score

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

Postby Hblade » Wed Apr 28, 2010 9:27 pm

I dont know, sorry :(
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby chrisevil » Thu Apr 29, 2010 4:38 am

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?
=)
chrisevil
 
Posts: 14
Joined: Sun Apr 25, 2010 1:31 pm
Score: 0 Give a positive score

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

Postby linkshards » Thu Apr 29, 2010 5:56 am

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?
User avatar
linkshards
 
Posts: 45
Joined: Tue Apr 27, 2010 3:40 am
Location: Cibolo, Texas
Score: 1 Give a positive score

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

Postby Hblade » Thu Apr 29, 2010 6:24 am

I've been making games here since 2006.
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby chrisevil » Thu Apr 29, 2010 7:56 am

!!!!!!!!! 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?
chrisevil
 
Posts: 14
Joined: Sun Apr 25, 2010 1:31 pm
Score: 0 Give a positive score

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

Postby linkshards » Thu Apr 29, 2010 3:44 pm

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.
User avatar
linkshards
 
Posts: 45
Joined: Tue Apr 27, 2010 3:40 am
Location: Cibolo, Texas
Score: 1 Give a positive score

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

Postby chrisevil » Fri Apr 30, 2010 12:29 pm

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?
chrisevil
 
Posts: 14
Joined: Sun Apr 25, 2010 1:31 pm
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron