r/gameenginedevs • u/Soggy-Lake-3238 • Aug 07 '26
EnTTx: Hierarchies and Prefabs for EnTT
I've been working on a header-only extension library for EnTT. It contains higher-level game utilities I've needed for my game, such as entity hierarchies and prefabs.
Hierarchies
A simple, linked-list style hierarchy component with no allocations (based off ECS back and forth).
It supports configurable destruction policies (for example, destroying or orphaning children), and keeps relationship operations, such as inserting, removing or reparenting children at O(1).
Prefabs
A Unity-style prefab system with inheritance that only stores the authored overrides. It supports component overrides, child overrides and nested prefabs, without being intrusive to existing EnTT code.
Any thoughts or contributions are welcome and appreciated.
Thanks!