qmetrics.net

EnTT

Header-only C++ entity-component system and game utilities

EnTT is a compact C++ library centered on a fast entity-component system, plus reflection, scheduling, and resource helpers for game code.

Overview

EnTT implements the entity-component-system pattern used in game and simulation code, letting you attach flexible component types to entities and process them in systems. Storage supports optional pointer stability and customization hooks while aiming for low overhead in typical game loops.

Beyond the core registry, the library bundles an execution graph builder for scheduling work, a macro-free runtime reflection layer, delegates and signals, sparse-set-based containers, resource loaders and handles, and utilities for DLL-friendly use across modules.

It is header-only: including entt.hpp pulls in the full library, or you can include narrower headers such as entity/registry.hpp for ECS-only use. Integrators link via CMake as EnTT::EnTT, or use packaging paths such as vcpkg, Homebrew, build2, Bazel, and pkg-config.

The project is used in commercial games including Minecraft, according to the authors, and is positioned as a general C++ toolkit rather than ECS alone. Optional benchmarks and community extensions address networking, prefabs, and observers.

Key features

  • Header-only C++20 ECS core
  • Runtime reflection without macros
  • Execution graph task scheduling
  • Signals, delegates, and events
  • Resource loaders and handles
  • Sparse set containers
  • CMake and pkg-config integration
  • Optional ECS-only header include

Use cases

  • Game entity and component modeling
  • Simulation architectures in C++
  • Custom engines needing ECS storage
  • Runtime type inspection in games
  • Scheduled system graphs in engines

Tags

Similar software

Bevy Engine

Rust game engine with ECS architecture

Bevy Engine is a data-driven Rust game engine for 2D and 3D work. It emphasizes modularity, parallel execution, and fast iteration while the project remains under active development.

★ 50k⟳ yesterdayApache-2.0
Open Source Alternative to:Unity

Phaser

HTML5 2D game framework with Canvas and WebGL

Phaser is a JavaScript and TypeScript framework for browser games on desktop and mobile, with scene APIs, physics, animations, and loaders. Games can target embed platforms or wrap for native stores via third-party tooling

★ 40.8k⟳ 3 months agoMIT

raylib

Minimal C library for games and graphical programs

raylib is a C99 graphics and game programming library with no mandatory external dependencies. It suits prototypes, tools, education, and embedded targets across desktop, mobile, and web.

★ 35.8k⟳ todayZlib
Frameworks & PlatformsDesktop/CLI app

Matter.js

JavaScript two-dimensional rigid body physics engine

Matter.js simulates 2D rigid-body physics for browser games and interactive pages. It runs in modern browsers and Node.js with canvas rendering and touch-friendly controls.

★ 18.7k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

wgpu

Cross-platform safe Rust graphics API

wgpu implements the WebGPU-style API in Rust for native and WebAssembly targets. It backs Firefox, Servo, and Deno WebGPU integration and maps to Vulkan, Metal, D3D12, and GLES.

★ 18.7k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app

GLFW

Cross-platform windowing library for OpenGL and Vulkan

GLFW is a C library that creates windows, graphics contexts, and surfaces while handling input and events. It targets OpenGL, OpenGL ES, and Vulkan on desktop and Unix-like systems.

★ 15.5k⟳ 3 months agoZlib
Frameworks & PlatformsDesktop/CLI app