What is the difference between game engine and library
#3 Members - Reputation: 121
Posted 09 August 2011 - 11:15 AM
what is the difference between game engines and libraries. I have been looking for game engines, but I constantly keep stumbling across game libraries. A nice explanation would be nice.
a game engine will typically have some sort of graphical programming environment that you can use to position game objects in 3d space. a library is just a collection of api used to code with. a library is a subset of a game engine
Free C++, OpenGL, and Game Development Video Tutorials @
www.marek-knows.com
Play my free games: Ghost Toast, Zing
#4 Members - Reputation: 1566
Posted 09 August 2011 - 11:57 AM
what is the difference between game engines and libraries. I have been looking for game engines, but I constantly keep stumbling across game libraries. A nice explanation would be nice.
a game engine will typically have some sort of graphical programming environment that you can use to position game objects in 3d space. a library is just a collection of api used to code with. a library is a subset of a game engine
That's not really true. A Game Engine is a set of API's (and accompanying libraries) that is designed to help provide most of the machinations required to make that type of game. It might be an engine to promote a 3D FPS, a 2D platformer, or even a Text Adventure game.
What you're calling libraries may be some of the Multimedia libraries available (DirectX, SDL, SFML, etc.) These are typically API's to allow access to the pieces that control and display the game. They would provide access to input (mouse, keyboard, joystick), Audio, Graphics, and networking. For many of the "Game Engines", you may need to use a Multimedia Library to control the Game Engine, although, typically, the Game Engine already provide some abstraction for those calls.
---(Old Blog, still has good info): 2dGameMaking
-----
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)
#5 Members - Reputation: 313
Posted 11 August 2011 - 01:57 AM
- Asset Loading and Management (streaming, etc.)
- Physics
- Rendering
- Animation
- World Representation
- Entities
- Path Finding
- AI
- GUI & Menuing
- Input Acquisition
- Networking
- Game State Persistence
- Sound Effects & Music Streaming
- Etc.
The thing that makes it an engine, is its frame-based multi-tasking nature. The thing that makes it a game engine is all the functionality it delivers that makes it useful for building games.
A set of libraries is one form in which that unified set of technology can be organized to make it usable by engineers.
In my experience, this is the way most engineers prefer, because it gives them the most control and flexibility over how they use them.
The Unreal Engine is one example of a different approach. Their approach is to build a game stub in a single monolithic (though not un-organized) codebase, and to give you all of the source code so you can sort of just pick up where they left off, or re-write and replace whatever you want. The idea behind this approach is that you start with a working game and so if the game you want to make is very similar, you can convert it to that game much more quickly.
Engineers tend not to like this because it's much tougher to dig into that code, and figure out exactly what to redesign and how, without breaking everything, than it would be to build on top of a clear, clean, well defined set of library interfaces. And if the game you're making is not that close to what you start with, then it could take longer to get there.
An engine will typically utilize (essentially be useless without) a layout tool, but they are two seperate things. And a layout tool typically generates runtime assets, not code.a game engine will typically have some sort of graphical programming environment that you can use to position game objects in 3d space. a library is just a collection of api used to code with. a library is a subset of a game engine
An engine isn't necessarily encapsulated in a library. And a library doesn't necessarily comprise an engine.Same thing.
#6 Members - Reputation: 3283
Posted 11 August 2011 - 12:28 PM






