Mindustry is a cross-platform game engine and factory automation simulation that combines resource management with tower defense strategy. Players construct complex supply chains and automated networks to process materials while building defensive structures to protect a core from waves of hostile mechanical forces.
The project utilizes a deterministic lockstep networking model to ensure simulation consistency across desktop and mobile devices. It is built on an entity-component-system architecture and a tile-based grid simulation, allowing for the efficient management of thousands of active units and game objects. A custom bytecode scripting system and integrated asset tools provide a moddable sandbox environment, enabling users to extend core mechanics and create custom content.
The engine optimizes performance through spatial partitioning for collision detection and atlas-based texture batching to manage GPU memory. Project documentation and reference materials are maintained through community-driven contributions via pull requests.