Torque Game Engine, or TGE, is an open-source cross-platform 3D computer game engine, developed by GarageGames and actively maintained under the current versions Torque 3D as well as Torque 2D. It was originally developed by Dynamix for the 2001 first-person shooterTribes 2. On September 2012, GarageGames released Torque 3D as open-source software under the MIT License.[5]

The Torque engine and its many derivative products were available for license from GarageGames, a company formed by many members of the Tribes 2 team at Dynamix. GarageGames was later acquired by InstantAction, but on November 11, 2010, InstantAction announced that it was winding down its operations and looking for potential buyers for Torque.[7] On January 19, 2011, GarageGames announced their return to their old name with new owners.[8]

GarageGames released Torque 3D as open-source software under the MIT License on September 20, 2012.[9][2]Torque 2D followed on February 5, 2013[10]. Torque 3D and most of their other products were to continue being developed and supported. The latest stable release of Torque 2D was marked May 2018 on GitHub[11], and the latest stable release of Torque 3D was marked April 2018, on GitHub.[12]

The original Torque Game Engine, which has been superseded by Torque 3D, provided networking code, scripting, in-engine world editing, and GUI creation. The source code could be compiled for Windows, macOS, Linux, Wii, Xbox 360, and iOS platforms. TGE shipped with starter kits for a first-person shooter and an off-road racing game. A real-time strategy starter kit was also available as a separate purchase. These starter packs could be modified to suit the needs of the developer, or the developer could start from scratch.

The engine supported loading of 3D models in the DTS and DIF file formats. DTS models were typically used for characters and vehicles though occasionally for buildings and interiors. They could be animated using either skeletal or morph target animation. It was also possible to blend multiple skeletal animations together by playing them simultaneously or automatically tweening the different positions of bones in the skeleton. DIF models have pre-calculated lighting and as such are ill-suited for animation. Instead, they were used for buildings and interiors. They automatically had bounding boxes that perfectly match the visible geometry. This was so that it was not made overly difficult for a player in a Torque Game Engine game to move or fire weapons around them.

The game featured a terrain engine that automatically created LODs of the ground so that it rendered the fewest polygons necessary at any given time. The terrain was automatically lit, and textures applied to the terrain could be blended together seamlessly. The game's rendering engine featured environment mapping, Gouraud shading, volumetric fog, and other effects such as decals that allowed for textures to be projected onto interiors in real time (for example, a player in a Torque Game Engine game might fire a weapon that left a bullet hole in the wall. The bullet hole would be a decal). Torque supported networked games over LAN and the internet with a traditional client-server architecture. Server objects were "ghosted" on clients and updated periodically or upon events.

TorqueScript (also known as TS) is a coding language designed specifically for the Torque Game Engine, with a syntax similar to C++.[13]

Torque 3D version 1.2 was released as open-source software under the MIT License on September 20, 2012, and is being actively maintained, the current version being 3.10.[14] Originating as a successor to Torque Game Engine Advanced (TGEA), Torque 3D features PhysX support, modern shader features, an advanced deferred lighting model, as well as build support for Windows, macOS and Linux.[15] DTS and DIF have been superseded by COLLADA, a more commonly supported interactive 3D model file format. The DIF format has been completely deprecated, while DTS is still used as an internal format.

Torque 2D, originally Torque Game Builder, is a game engine designed for 2D games and based on the Torque Game Engine.[16] It was first released in 2006, in a standard and a pro version, with the professional version including the source code.[16] Torque 2D started as Torque Game Builder because the ultimate goal was to make it a game-making suite.[citation needed] It was used for instance to create the puzzle game And Yet It Moves (2009, Broken Rules, WiiWare) and dozens of other games.[citation needed] The latest "Torque game builder" release was 1.7.6 from December 2011.[17] In 2012 a Torque 2D MIT edition was created as combination of the previous "Torque Game Builder" and iTorque 2d, an iOS fork.[18] On February 5, 2013,[10]Torque 2D MIT was released in version 2.0 as open source software. Torque 2D's development continues on GitHub with latest version being v.3.4 from May 2018.[11]

Torque Game Engine Advanced (formerly known as Torque Shader Engine) was an expanded version of Torque Game Engine made to support advanced technologies including shaders, per-pixel lighting, and massive terrains. This version of the engine has been ported to Microsoft's Xbox and Xbox 360 console systems. Several Xbox Live Arcade games have been released using the Torque engine, most notably Marble Blast Ultra. First release was January 23, 2007 with the 4.2 Beta, production release of TGEA 1.0 and end of Early Adopter Program was on February 15, 2007.

Although TGEA supported the existing Torque Legacy Terrain, TGEA incorporated entirely new terrain rendering engine, the Atlas Terrain Engine, which is an improvement over the blended terrains of TGE. Atlas used GPU hardware to render a massive terrain block and its textures. This allowed Atlas to scale with faster systems of the future. A shaded water rendering system was implemented with full reflection, refraction, and Fresnel reflection. TGEA incorporated a lighting system based on Torque Lighting Kit, including a light manager tool, scene lighting, and dynamic shadows among others.

Torque Game Engine Advanced 1.0 supported Direct3D rendering via an API-independent graphics layer. Future versions were expected to support both Direct3D and OpenGL pipelines to allow TGEA to support macOS and Linux platforms as well as Windows. There had also been planned TGEA compatibility with Microsoft's game development suite for the Xbox 360, XNA Game Studio Express. TGEA contained several ready-to-apply shaders and common shader settings. Custom shaders based on High Level Shader Language could be compiled by the engine and applied as custom materials. This could be applied to both interior and exterior type 3D art assets. Fallback materials could be configured to allow support of pixel and vertex 1.x first-generation video cards.

In November 18, 2009 latest release of TGEA, TGEA 1.8.2 became available.

Torque Lighting Kit was an expansion pack to the Torque Game Engine developed by John Kabus and Synapse Gaming. It added a variety of enhanced lighting features to the Torque Game Engine. In the latest release,[19] features such as dynamic lighting and shadowing were added. Torque Lighting Kit was later included as part of Torque Game Engine 1.5 and Torque Game Engine Advanced. In 2008, Kabus and Synapse Gaming stopped supporting Torque, began a partnership with Microsoft, and packaged their lighting technology and other new tech into the Sunburn XNA Game Engine.[20]

After the release of Torque Game Builder, GarageGames began to develop Torque X. Torque X was a game engine based on Torque Game Builder using a component system that allows multiple game objects to have the same abilities, running on Microsoft's XNA Framework.[21][22] Many of the 3D features were left incomplete and never finished. Specifically, 3D terrain using RAW height maps suffered from a lack of working examples, shadows were substandard (consisting only of a spherical shadow texture projected on the terrain), the ability to use skinned meshes for animated models was not working (non-skinned meshes worked), and the 3D rigid-body physics suffered from several issues.