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.

Geek Culture / I need proof that a game engine is NOT a compiler!

Author
Message
Quik
16
Years of Service
User Offline
Joined: 3rd Jul 2008
Location: Equestria!
Posted: 24th May 2012 15:42
Quote: "I think a lot of people are confusing game engines ( something you use to make a game) with game engines (the engine of a game itself, like Source, UE, etc.). At least that's my view on things."


thaat is the same thing...
UE and Source are <used to make games> and <are the engine of a game>...


The result of origin.. Oh and ponies
zeroSlave
15
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 24th May 2012 17:06 Edited at: 24th May 2012 17:08
Unreal, Unity, and Source do not make games. UDK, Unity SDK, and the Source SDK make games. The first three are game engines, the last three are software development kits that allow you to easily modify and work with the respected engine.

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.
kamac
14
Years of Service
User Offline
Joined: 30th Nov 2010
Location: Poland
Posted: 24th May 2012 17:15 Edited at: 24th May 2012 17:16
Quote: "and the compiler is the actual executable which converts your DBPro code into machine code."


I've thought that it rather copies your code into the interpreter's .exe (probably encodes it at the same time). After that you run your produced .exe which reads all the info from itself and interprets it giving you the output.

...But it just compiles it into the machine code?

I've thought that it's rather pro to write a compiler.

Follow me on twitter! @MotionStruct
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 24th May 2012 18:44
Quote: "It shouldnt be... "


Here are two paragraphs from the help files provided with DarkGDK:

Quote: "DarkGDK is based upon the DarkBasic Professional 3D engine and although many of the commands are similar, there are some fundamental differences that must be acknowledged."


Quote: "...The DarkGDK engine bundled together into a single DLL file 'gdkengine.dll'. Your project will need this to be able to load the engine, as well as the necessary header and source files which map out the functions it contains."


TheComet

Diggsey
19
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 24th May 2012 19:08
An SDK and a game engine are not mutually exclusive things. A game engine is just something that manages aspects of a game such as graphics, audio, networking, and anything else that's useful. Whether it comes in the form of an SDK, a scriptable program or anything isn't relevant.


Quote: "I've thought that it rather copies your code into the interpreter's .exe (probably encodes it at the same time). After that you run your produced .exe which reads all the info from itself and interprets it giving you the output.

...But it just compiles it into the machine code?

I've thought that it's rather pro to write a compiler."


DBC works that way, but DBPro actually compiles your code to machine code. It still uses a precompiled .exe stub which loads the machine code into memory and then jumps into it.

[b]

Login to post a reply

Server time is: 2025-05-19 00:32:33
Your offset time is: 2025-05-19 00:32:33