Technology

Codex Engine: where worlds evolve.

Codex is our in-house, simulation-first engine for living, reactive worlds. Most engines give you a stage. Codex gives you an ecosystem: you define the rules of the world and the behaviour emerges from them.

Codex Engine logo
Philosophy

Rules, not scripts.

Traditional engines treat the world as a stage for scripts: every NPC is an actor hitting their marks. That works until it doesn’t, and then your open world feels like a theme park.

01

Systemic NPCs

Characters are driven by needs, roles and capabilities, not dialogue trees. They don’t know what the player will do, and neither do you. That’s the point.

02

Emergent interactions

World rules combine into outcomes that are unexpected but logical. When two systems interact in a way nobody explicitly wrote, that’s Codex doing its job.

03

Simulation integrity

The simulation is the source of truth, not the animations or effects. Visuals serve the simulation, not the other way round.

04

Scalable complexity

Systems stay manageable as worlds grow. Adding a mechanic shouldn’t mean touching fifty existing scripts.

“If you want to make a game where players can ask ‘I wonder if I can…’ and the answer is consistently yes, Codex is the engine for that.”

Inside Codex

What it does today.

Codex 1.0 is in active development. These systems are already built and in use in our games.

Deterministic sim & physics
The same inputs give the same world, on every machine. This is the foundation for replay, lockstep multiplayer and reproducible bugs.
Roles, capabilities & needs
The NPC model at the heart of Codex, with a simulation calendar and daily schedules.
Event log & replay
Every change to the world is recorded and can be replayed. We replay the simulation itself, not a video recording.
Codexscript
Our scripting language: a fork of GDScript with braces, visibility modifiers, packages, nullables and overloading.
Procedural generation
Deterministic generation graphs and run layouts, seeded so every client generates the same world.
Dialogue & cutscenes
A dialogue scripting format and runner, plus a cutscene player that can hold and resume the simulation.
Neon networking
Our own UDP networking stack, backed by first-party relays.
Mods & packaging
Mod API v1 and the CodexPack export pipeline, so players can build on our games.
Licensing

Proprietary and purpose-built

Codex is closed-source software for internal use at QTI, licensed under the QTI General License 3.0. It is built on Godot Engine, and the Godot components remain MIT-licensed. We extended Godot because the tools we needed didn’t exist.

We believe in open development and would like to explore an open-source release in the future, but we aren’t committing to a timeline. If you’re an authorised collaborator and need access, get in touch.