Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Engines?

Author
Message
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 7th Jun 2008 17:50 Edited at: 7th Jun 2008 17:52
What exactly does an engine for c++ actually do?


I just found this:

http://en.wikipedia.org/wiki/Game_engine

/*================================================*\
| Lead Programmer/Owner===============Anti-Triangle Cult=====|
\*================================================*/
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 7th Jun 2008 19:42
umm, lol now u ask the question its ahrd to explain. C++ is jsut a programming language, but the engine gives the language its functionality. i know know if u understand... It makes the game
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 8th Jun 2008 01:12
Yah, but obviously you don't have to make an engine, to make a game. So an engine is to make it "easier"?

/*================================================*\
| Lead Programmer/Owner===============Anti-Triangle Cult=====|
\*================================================*/
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 8th Jun 2008 01:15
An engine is the base of the game. Without darkGDK, lets say, you couldn't make a 3D game, or any game, right? So DarkGDK is the base blocks, because it isn't a game, but you NEED it to make the game.

The game engine is what process's the information. Without DarkGDK, if you press the "L" key, nothing is there to precces it, so NOTHING happens.

~~Its not about what you know, its about how you figure it out.~~
dbGamerX
16
Years of Service
User Offline
Joined: 23rd Nov 2007
Location:
Posted: 8th Jun 2008 01:28
Simply put, I would say a game engine is the thing that makes up the game's core functions (eg. graphics, music playback etc). I would say DirectX is the renderer and the support for Dark GDK, and DGDK is the game engine used to build your own game.

dbPrint ( "Sig" );
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 8th Jun 2008 01:35
Cool.. I understand now.

/*================================================*\
| Lead Programmer/Owner===============Anti-Triangle Cult=====|
\*================================================*/
Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 8th Jun 2008 02:00
what's the difference between dx and dgdk then?
manu
16
Years of Service
User Offline
Joined: 7th Jun 2008
Location:
Posted: 8th Jun 2008 02:05
Whatever you create in GDK, DirectX puts it on the screen. It is like a typewriter and a publisher.
Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 8th Jun 2008 02:33
aha......................
uhm...

My point was that you can do exactly the same as with Db in dx, you just have to write a few lines more. So db is just a productivity booster (and application performance killer...).
dbGamerX
16
Years of Service
User Offline
Joined: 23rd Nov 2007
Location:
Posted: 8th Jun 2008 03:02
Quote: "you just have to write a few lines more"

Erm.. It depends on your relative sense of "few".

Let me show it. Let's load Colonel-X and display him. In DGDK, you would use this one pretty little line-


But on DirectX


All that to just return model data to a variable. Then you have to use that variable to actually render the model to the screen using another function that will involve a lot of complicated matrices. NOT fun if you ask me. This is one of the reasons I like DGDK.

dbPrint ( "Sig" );
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 8th Jun 2008 07:12
DarkGDK is not a game engine, you could call it a rendering engine, but other than that it just wraps lots of DirectX functionality and other things like file I/O. If I make hangman, that is now a game, all of the code used to run the input, score, graphics output etc, is collectively the game engine, it doesn't matter how crap it is, it's still a game engine.

All GDK does is to make using DX far easier as they've wrapped most of the functionality into a very basic set of functions that do most of the work for you, you can see C++ code to load a .x mesh HERE it may look complicated, but the code to actual load the mesh is just the one function call 'D3DXLoadMeshFromX', because like GDK, this is a wrapped function that handles the hard stuff about parsing the file, of course if you want to handle the materials you have to do more, same for rendering compared to GDK.

manu
16
Years of Service
User Offline
Joined: 7th Jun 2008
Location:
Posted: 8th Jun 2008 13:47
dark coder, I understand what you mean and in my opinion you are right. But the DarkGDK help states on the first page:
"The Dark Game Development Kit is a complete game engine "
I think there is no real definition as to where a rendering engine stops and a game enginge begins.

Login to post a reply

Server time is: 2024-11-17 17:40:07
Your offset time is: 2024-11-17 17:40:07