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:
- http://developer.valvesoftware.com/wiki/sdk_docs
- http://udk.com
- id software releases game engines gpl after few years. reading through code you'll learn lot: ftp://ftp.idsoftware.com/idstuff/source/quake3-1.32b-source.zip. recommend taking @ enemy territory based of quake 3 code: ftp://ftp.idsoftware.com/idstuff/source/et-gpl.zip.
Comments
Post a Comment