Developer Docs
Engine internals, configuration system, and contribution guides for Akhenaten.
Architecture Overview
High-level module map — buildings, figures, city simulation, grid, rendering, save/load, and how they connect.
Config File Format
The JavaScript DSL used to define all buildings, figures, gods, and mechanics. Syntax reference with examples.
Adding a Building
Step-by-step: creating a new building type from enum to C++ class to JS config and animations.
Adding a Figure
How to implement a new unit type — AI state machine, static params, runtime data, and registration.
Modding Guide
Creating mods with .sgx archives, overriding building configs, adding custom assets and scripts.
JS Scripting
The MuJS scripting system — available APIs, hot-reload workflow, and debugging with VS Code DAP.
Build Instructions
Building from source on Windows (Visual Studio), Linux, macOS, and Android. CMake presets reference.
Building System
Deep dive into building, building_impl, static params, runtime data, and the METAINFO pattern.
Housing System
Class hierarchy, evolution algorithm, service coverage pipeline, houses.js config reference, and a guide for adding a new tier.