Engine Documentation

Welcome to the Traktor engine documentation. This section covers the technical architecture, core systems, and APIs you’ll work with when building games with Traktor.

These docs are organized from foundational concepts to specialized systems. Start with Architecture to understand how everything fits together, then explore Runtime and World to learn the application model and entity-component system. From there, dive into the specific systems your game needs: rendering, physics, animation, audio, scripting, and more.

Each page explains not just how to use a system, but why it works that way. You’ll find practical code examples in both C++ and Lua, best practices learned from real projects, and references to the actual source code when you need to go deeper.

Core Systems

  • Architecture - Engine design and core systems
  • Runtime - Application framework and lifecycle
  • World - Entity-component system
  • Resources - Asset loading and management

Game Systems

  • Physics - Rigid body dynamics and character controllers
  • Scripting - Lua integration and gameplay programming
  • Input - Keyboard, mouse, and gamepad handling
  • AI - Navigation mesh and pathfinding

Graphics and Audio

  • Rendering - Vulkan-based renderer with ray tracing
  • Animation - Skeletal animation and state graphs
  • Theater - Cinematic cutscenes and scene animation
  • Particles - GPU particle effects
  • Audio - 3D spatial audio and music
  • UI - User interface system
  • Terrain - Heightfield terrain
  • Weather - Dynamic weather effects
  • Networking - Multiplayer and online services

Table of contents