c++ - The Game vs The Game Engine? -


i wondering if tell me how game , game engine fit game development. mean is, game engine not have game. i'm unclear basically, game developpers build engine, create new class inherits engine becomes game?

ex:

class shootergame : public engine { }; 

so i'm unclear on game code fits engine.

the distinction between game , actual game engine architectural. game logic specific 1 game whereas game engine can reused. operating system provides utilities applications game engine same game code.

game engines typically have different apis for:

  • loading multimedia data audio, textures, 3d models
  • providing game loop , firing off various events caused users input
  • networking
  • graphics rendering , various techniques make game nice using lighting, particle effects or bump mapping
  • audio
  • artificial intelligence
  • an api allow defining game rules, game play, , game logic

most game developers not write own game engine. work. instead they'll reuse game engine company has or license one. first person shooters, id software, , unreal 2 popular choices.

once have engine have start writing code make game. done using api provided game engine. example valve makes developers use c++. if wanted monster extend off of entity class , define how monster behaves in base class.

i recommend reading through documentation , tutorials provided various game engine providers. keep in mind games classified "mods" , "total conversions." typically, mod not change engine of game , total conversion may add or remove significant features game engine.

here few sources recommend:


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -