Skip to content
— CH. 1 · INTRODUCTION —

Game engine

~8 min read · Ch. 1 of 7
7 sections
  • A game engine is the invisible backbone of nearly every video game you have ever played. It is a software framework that handles the rendering of worlds, the simulation of physics, the processing of sound, the logic of artificial intelligence, and dozens of other systems running simultaneously beneath the surface. Without it, each game would have to be built from the ground up, line by line, every time.

    But game engines are not just about saving time. They represent a profound shift in how the software industry thinks about creation itself. How did we get from a world where every game was a singular, handcrafted object to one where a single engine powers hundreds of different titles across dozens of platforms? And what happens when the tools that make games also start reshaping science, architecture, and military training?

  • A game for the Atari 2600 had to be designed from the bottom up. Every line of code was shaped around the specific display hardware of that one machine, down to what developers now call the kernel: the core display routine that drove the screen. Nothing could be borrowed from the previous game. Nothing could be carried forward to the next.

    Memory constraints made reuse nearly impossible even on more forgiving platforms. The rapid advance of arcade hardware during the 1980s compounded the problem. Each new generation of games used completely different designs to exploit whatever extra resources the hardware offered, so most of the code from the previous cycle was thrown away. Game design through that decade was largely built on hard-coded rules, a small number of levels, and fixed graphics data.

    A notable exception appeared in the mid-1980s on the Nintendo Entertainment System. Shigeru Miyamoto's team developed a smooth side-scrolling engine first used in the racing game Excitebike, released in 1984. That same engine was then put to work in Super Mario Bros. in 1985. The result was something players had not seen before: Mario could smoothly accelerate from a walk to a run, rather than snapping between fixed speeds as characters had done in earlier platformers.

  • Third-party game engines were rare until 3D computer graphics took hold in the 1990s, but the seeds of the idea appeared earlier. A string of 2D game creation systems appeared during the 1980s, including Pinball Construction Set in 1983, Adventure Construction Set in 1984, Garry Kitchen's GameMaker in 1985, and Shoot-'Em-Up Construction Kit in 1987. ASCII's RPG Maker engines, beginning in 1998, became the most widely adopted of the early offerings.

    The term "game engine" itself emerged in the mid-1990s, driven largely by the explosion of first-person shooters. Epic Games, founded by Tim Sweeney, debuted its Unreal Engine in 1998. Id Software's Doom and Quake were so popular that other developers began licensing the core portions of their software rather than building equivalent systems from scratch. Those licensees supplied their own graphics, characters, weapons, and levels; the engine handled everything underneath.

    That separation of engine from content proved to be more than a convenience. It allowed teams to grow and specialize. A programmer no longer needed to understand level art; an artist no longer needed to understand collision detection. Id Software's Quake III Arena and Epic Games' Unreal, both developed with this philosophy in mind, accelerated the trend. Licensing engine technology also became a meaningful revenue stream. A single license for a high-end commercial engine can run from ten thousand dollars to millions, and the number of licensees for an engine like Unreal has reached several dozen companies.

  • Underneath every rendered forest, every simulated explosion, and every line of in-game dialogue, a game engine is running a stack of specialized systems in parallel. The core functions that most engines cover include a 2D or 3D renderer, a physics engine, an audio engine, scripting, animation, artificial intelligence, networking, streaming, memory management, threading, localization support, a scene graph, and cinematics.

    The scene graph is worth pausing on. It is an object-oriented representation of the three-dimensional game world, organized so that the engine can determine efficiently which objects are visible, which are hidden, and which need to be updated. Without it, rendering a vast virtual world would require checking every object in that world on every frame.

    Threading has grown in importance as consumer hardware has moved to multi-core processors. Separate threads now manage rendering, audio playback, asset streaming, and physics simultaneously. Racing games pioneered this approach. On the PlayStation 3, Need for Speed ran its physics engine at 100 Hz, while Forza Motorsport 2 pushed that to 360 Hz. The difference matters because physics calculations that update more frequently produce more believable vehicle behavior, and racing players notice.

    Engines described simply as graphics engines or rendering engines handle the visual layer but leave everything else to the developer. Crystal Space, Genesis3D, Irrlicht, OGRE, RealmForge, Truevision3D, and Vision Engine are examples of that narrower category. The terminology is not applied consistently across the industry, which can create confusion when evaluating what a given tool actually provides.

  • Game engines themselves are often called middleware, because they sit between raw hardware and finished software the way commercial middleware does in enterprise computing. Within game development, however, the word middleware takes on an additional meaning: the specialized subsystems that plug into an engine to handle tasks it does not cover on its own.

    Four packages have become the most widely used in this category. RAD Game Tools produces Bink for basic video rendering, along with Miles audio and Granny 3D rendering. Firelight's FMOD is a low-cost audio library built for robustness. Havok supplies physics simulation as well as animation and behavior tools. Scaleform provides GFx for high-performance Flash user interfaces, high-quality video playback, and an Input Method Editor addon designed to support in-game Asian language chat.

    Other middleware focuses on performance optimization rather than new features. Simplygon is used to optimize geometry and generate level-of-detail meshes. Umbra adds occlusion culling, a technique for preventing the engine from rendering objects that are hidden behind other objects. Some middleware packages are distributed with full source code; others are provided only as compiled binary libraries. Licensing terms vary, and source code access typically commands a higher fee.

    Component-based architecture inside many engines makes this ecosystem possible. An engine designed with replaceable subsystems allows a studio to swap in a specialized physics package or a more capable audio library without rebuilding the rest of the product. Some engines take this further: they are assembled entirely from loosely connected middleware components, rather than starting with an integrated core.

  • Game engines are now used for serious games: visualization, training, medical simulation, and military applications, with CryEngine cited as one example of an engine that has been applied in these contexts. The reason comes down to economics. Game engines are optimized for consumer-grade computing hardware rather than high-performance computing clusters, so researchers can run sophisticated simulations on lower-cost machines.

    Engines also simplify the programming of graphics, networking, and interactivity for applications that have nothing to do with entertainment. A team building an architectural visualization or a training simulation does not have to write those subsystems from scratch. The engine provides them out of the box.

    Marketing demonstrations, architectural walkthroughs, and modeling environments have all adopted game engine technology for similar reasons. The distinction between a game and a real-time interactive application with 3D graphics is, at the software level, often a matter of rules and content rather than underlying framework. That blurring of purpose has pushed engine developers to build tools that are more general than their original brief implied.

    Microsoft's XNA platform represents a policy response to the democratization of engine development. Designed as the primary software development kit for games on Xbox and related products, XNA includes the Xbox Live Indie Games channel, built specifically for smaller developers who do not have the resources to produce boxed retail titles. The direction across the industry has moved consistently toward making engine development more accessible and less expensive.

  • Unity and Unreal Engine are currently the two most widely used choices among game developers. They differ in pricing structures, toolsets, and target audiences, and the gap between what major engines offer has narrowed as each has built more capabilities on top of its core. Even so, developers often remain with a familiar engine long after alternatives become available, partly from workflow investment and partly because the benefits of a dominant platform compound over time.

    Free and open-source engines have grown in visibility. Godot saw a significant increase in adoption following a controversy over Unity's pricing that erupted in 2023. Studios and independent developers seeking engines with permissive licenses moved toward Godot in numbers large enough to register as an industry shift.

    Higher-level programming languages have also entered the engine space. Engines built on Java, C# and .NET, Python through Panda3D, and Lua Script through Leadwerks represent a departure from the C++ foundations that dominated the field for decades. As graphics workloads have moved increasingly onto dedicated graphics cards, the performance overhead of translating higher-level languages has become negligible in most titles, while the productivity advantages for developers remain real. The competitive licensing fee that a single high-end engine license can command, running from ten thousand dollars to several million, means the engine business carries stakes that rival the games built on top of it.

Common questions

What is a game engine and what does it do?

A game engine is a software framework primarily designed for video game development. It provides reusable systems covering rendering, physics simulation, audio, scripting, animation, artificial intelligence, networking, and memory management, allowing developers to build games without writing those foundations from scratch.

When did the term game engine first appear?

The term game engine emerged in the mid-1990s, driven by the rise of 3D games and first-person shooters. Epic Games debuted its Unreal Engine in 1998, and id Software's Doom and Quake popularized the practice of licensing engine technology to other developers around the same period.

What was the first notable example of a reusable game engine?

One notable early example is the smooth side-scrolling engine developed by Shigeru Miyamoto's team at Nintendo for the NES. Built for the racing game Excitebike in 1984, it was reused in Super Mario Bros. in 1985, allowing Mario to smoothly accelerate rather than move at a fixed speed.

What are the most popular game engines used today?

Unity and Unreal Engine are currently the two most popular choices for game developers. Godot, a free and open-source engine, saw a significant rise in adoption following the 2023 Unity pricing controversy, which led many studios to seek engines with permissive licenses.

How much does a game engine license cost?

A single license for a high-end commercial game engine can range from ten thousand dollars to millions of dollars. The number of licensees for engines like Unreal Engine has reached several dozen companies, making engine licensing a significant auxiliary revenue stream for developers.

Are game engines used outside of video game development?

Game engines are used in visualization, training, medical simulation, and military applications. They are suited to these uses because they are optimized for consumer-grade hardware rather than high-performance computing, reducing costs for researchers and developers working outside the games industry.

All sources

25 references cited across the entry

  1. 4webWhat is a Game Engine?GameCareerGuide.com
  2. 5webMy Turn: The Real Cost of MiddlewareJohn O'Neill — Gamedaily.com — January 15, 2008
  3. 8journalGame Engines in Scientific ResearchMichael Lewis et al. — January 2002
  4. 9bookHistory of Digital Games: Developments in Art, Design and InteractionAndrew Williams — CRC Press — 16 March 2017
  5. 12journalDezaemon, RPG Maker, NScripter: Exploring and classifying game 'produsage' in 1990s JapanMikhail Fiadotau — 2019
  6. 14webid Tech 5 Interview • Page 1 • Interviews •Tom Bramwell — Eurogamer.net — 2007-08-09
  7. 16webFreescape EngineUniversal Videogame List
  8. 17webVideo Games Starting to Get SeriousGazette.net — 2007-08-31
  9. 19book3D Game Engine Programming (book)Stefan Zerbst et al. — Premier Press — 2004
  10. 25webGamasutra Engine and Middleware Technology SurveyGamasutra.com — 2009-05-08