Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: What does a "Engine" do ?  (Read 2299 times)

0 Members and 1 Guest are viewing this topic.

Eric1611

    Topic Starter


    Beginner

    Thanked: 1
    What does a "Engine" do ?
    « on: May 27, 2010, 04:50:21 AM »
    I hear a lot about "engines",what does this exactly do ? Is it a program that makes your video-card work with the rest of your computer ? Is there a engine other than for video ?
    I`d really like to know,I`m thinking of doing animation with my sound-studio.
    I know a bit about computers,but I`m no guru !
                                                Greetz;Eric.

    PS;With engine I mean,example;Cryengine 2.
    Christmas is a time when kids tell Santa what they want and adults pay for it. Deficits are when adults tell the government what they want - and their kids pay for it.
    Richard Lamm.

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: What does a "Engine" do ?
    « Reply #1 on: May 27, 2010, 05:05:40 AM »
    If oyu mean things like game engines (like the quake, quake 2, doom, etc engines, half life 2, etc etc.

    Consider the quake engine. It was used in Quake (duh)- but the same "engine" was also used in a number of other games. The engine is the way that game characters and actions are handled. For example, doors are handled by the game engine, as are enemy movement and models, AI, switches and so forth.

    This is further illustrated by the fact that most game engines, even for the same genre, refer to the same things with different names or don't even have some things. for example, Duke Nukem 3d was created using the BUILD engine. Since the internal workings of the BUILD engine and how it renders the environment are completely different from quake, these differences are found also in the way effects are created. for Build, creating an effect such as flashing lights or a switch involves the setting of hitag and lotag values on sprites and walls as well as the creation of special "SectorEffector" sprites. Note that it is important to notice also that BUILD itself doesn't recognize most of the effectors used in Duke- Duke nukem itself recognizes a wide assortment and handles them. So while one game might use a Sector Effector sprite with a lotag of 7 as a teleporter, another might use it for something else.

    The quake Engine, in contrast, being based on BSP (Binary Space partitioning) can be seen to have a number of concepts from that being used in dealing with the engine. For example, any 3-d Object in quake is a "Brush". Game items, such as ammo, health, enemies, etc, are "Edicts" I haven't mapped much with Quake so I have no idea how it makes various effects such as doors opening and touchplates.


    Anyway, long story short- an engine basically let's the game programmer work in higher level concepts- instead of having to work with polygons and vertices, they can think in turns of models, weapons, and so forth. For example, they can deal in concepts such as players, items, objects, and vehicles rather then as a nameless bunch of triangles and vertices.
    I was trying to dereference Null Pointers before it was cool.

    Eric1611

      Topic Starter


      Beginner

      Thanked: 1
      Re: What does a "Engine" do ?
      « Reply #2 on: May 27, 2010, 05:29:05 AM »
      Thanks for your very fine explenation.With only a little help from the web I now understand !
      You know your stuff !!! After what you said;People who make engines are "artists".
      It seems it`s a very specialized "corner" in game-programming.
      I came to the question after Autodesk 3ds Max made some referances to it.
      Thanks a lot for your reply,greetings;Eric...

      PS;Forgive my English,I`m Dutch :)
      Christmas is a time when kids tell Santa what they want and adults pay for it. Deficits are when adults tell the government what they want - and their kids pay for it.
      Richard Lamm.

      +Asking

      • Guest
      Re: What does a "Engine" do ?
      « Reply #3 on: June 07, 2010, 05:44:18 AM »
      A engine is a software that the game is based on.