like and follow

facebook.com/onclick786
twitter.com/onclick786

Wednesday 28 September 2016

Game engine - ONCLICK786

Game engine 














Game engine

game engine is a software framework designed for the creation and development of video gamesDevelopers use them to create games for consoles, mobile devices and personal computers. The core functionality typically provided by a game engine includes a rendering engine (“renderer”) for 2D or 3D graphics, a physics engine or collision detection (and collision response), soundscriptinganimationartificial intelligencenetworking, streaming, memory management, threading,localization support, scene graph, and may include video support for cinematics. The process of game development is often economized, in large part, by reusing/adapting the same game engine to create different games, or to make it easier to "port" games to multiple platforms.



Main game program


The actual game logic has of course to be implemented by some algorithms. It is distinct from any rendering, sound or input work.


Rendering engine


The rendering engine generates 3D animated graphics by the chosen method (rasterizationray-tracing or any different technique).
Instead of being programmed and compiled to be executed on the CPU or GPU directly, most often rendering engines are built upon one or multiple rendering application programming interfaces (APIs), such as Direct3D or OpenGL which provide a software abstraction of the graphics processing unit (GPU).
Low-level libraries such as DirectXSimple DirectMedia Layer (SDL), and OpenGL are also commonly used in games as they provide hardware-independent access to othercomputer hardware such as input devices (mouse, keyboard, and joystick), network cards, and sound cards. Before hardware-accelerated 3D graphics, software renderers had been used. Software rendering is still used in some modeling tools or for still-rendered images when visual accuracy is valued over real-time performance (frames-per-second) or when the computer hardware does not meet needs such as shader support.
With the advent of hardware accelerated physics processing, various physics APIs such as PAL and the physics extensions of COLLADA became available to provide a softwareabstraction of the physics processing unit of different middleware providers and console platforms.
Game engines can be written in any programming language like C++C or Java, though each language is structurally different and may provide different levels of access to specific functions.

Audio engine


The audio engine is the component which consists of algorithms related to sound. It can calculate things on the CPU, or on dedicated ASIC. Abstraction APIs, such as OpenAL, SDL audio, XAudio 2, Web Audio, etc. are available.

Physics engine


The physics engine is responsible for emulating the laws of physics realistically within the application.

Artificial intelligence


The AI is usually outsourced from the main game program into a special module to be designed and written by software engineers with specialist knowledge.









The flowchart above shows the architecture of the initialization of the Game Engine. The entry point is that of when the game is loaded up.































No comments:

Post a Comment