Chapter 1
Why 2D pixel art and real-time global illumination
An engine first has to be clear about what kind of game it serves. Verdandi chose to focus on 2D pixel-art games, and behind that are two very practical judgements.
Choosing 2D is a sober way to keep the scale of the engineering under control: complexity stays within bounds that can be handled steadily, so that the runtime, the toolchain and the editor really close into one loop instead of sprawling into a structure nobody controls. Choosing pixel art comes from an understanding of where AI’s abilities end today. In non-pixel styles, current AI finds it hard to hold a consistent art style and sense of space, and the results often look amateur, which leaves creators with a strong sense of letdown inside the human–AI loop. Pixel art sits inside what can be controlled reliably today, and with real-time lighting on top, the picture holds up from the first moment.

Since the editor is a window for artists to “see and feel” through, the mood of the picture and the state of the running game both have to be right there in the viewport. Verdandi implements real-time 2D global illumination after the 2025 paper Holographic Radiance Cascades, so that light from lava, street lamps and braziers really spreads onto the ground and the objects around it. The shaders are written once in HLSL and feed both Vulkan on Windows and Metal on macOS, and the tests include a CPU reference implementation to check the GPU output against.

During play. Hob is found in Live World on the left; on the right is his state tree at this moment.
The overlays menu above the viewport: collision, triggers, footprints, roofs, and eleven lighting views.
With Collision and Footprints on: collision circles at the characters’ feet, and footprint boxes on the well, the stall and the crates.
To judge whether the gameplay is right, looking at a static scene is not enough. When you play the game directly in the editor, Live World, on the left, lists every running object in real time; search for the villager Hob and select him, and the right side opens his state tree: he is in the to_b state, has been there for 2.5 seconds, and last came over from wait_a, with no need to dig through code and logs. When tracking down problems of space and lighting, collision shapes, footprints and eleven lighting views can all be overlaid directly on the picture.
Overlays
Lighting view
Chapter 2
Shedding old baggage, and handing editing back to text and the command line
To keep editor code from polluting the engine core, and binary files from shutting the AI out, Verdandi cuts its architecture cleanly. The engine core, a separate process for play testing the game, a native editor service process dedicated to each project, and the editor window built with Electron and React are all separate from one another, and frames go straight into the window through a shared texture (IOSurface on macOS, a D3D11 handle on Windows).

ViewportDrawn by the engine, delivered to the window as a shared texture
Editor windowElectron + React
AI agents do not need to open a window and simulate clicks. The command line has two layers: verdandi.mjs, which comes with the engine, handles creating, building, verifying and exporting; each project also generates its own <Project>Tool, which checks content, lists what the project can do, edits scenes in bulk, paints tilemaps and moves assets. It calls the same operations library as the service behind the editor: the files it creates are byte-for-byte identical to the ones a person clicks into being in the editor, and what a bulk edit reads is the same kind of operation batch the editor sends.
Editor
A person changes a number in the Inspector

Command line
An AI agent sends one command
verdandi.mjsCreate · Build · Verify · Export<Project>ToolCheck · Edit scenes · Paint tilemaps · Move assets
The same operations library
Writes the same fileTwo ways in, byte for byte identical
Well
Bench
Street lamp
Villager
- Sprite
- Footprint
- GroundShadow
- Transform
Image
Button
Button
Label
- Go to
- Press
- Wait
- Capture
The data layer is likewise designed, all the way through, to be “readable by both people and AI.” Scenes, prefabs, data tables, state trees, UI (.ui and .uss) and even automated test scripts are all clearly structured plain-text files during development, neither hard-coded in C++ nor hidden in a binary black box. More important, reading is extremely strict: when a component or field name is misspelled (say Transform written as Transfrom), the engine does not quietly skip it the way traditional tools do. validate and the Problems panel in the editor’s bottom bar share the same set of checks, report the error directly and give the closest correct name.
Transfrom
Quietly skippedvalidate
Command line
Problems panel
The editor’s bottom bar
Transform
The closest correct name
Following the same line of thought, Verdandi simply has no dynamic scripting language. Since it is the AI that writes the rules and creators do not need to read code, game rules are written directly in C++: wrong names and types are stopped at build time, and a UI button without a handler is a compile error too, instead of surfacing only when the game reaches that line.
Write
Build
Run
Build passes

Compile error
Chapter 3
Judgement in the window: what changed is clear at a glance, and a person has the final say on the picture
Open the history, and it is an entry like this:
When the AI has finished changing files in the terminal, creators should not have to guess what it did by reading code diffs. In Verdandi, every time the AI changes a file it attaches a --label, a sentence written for people, and afterwards it can first preview the result with explain-change. The editor detects the file change and reloads automatically, recording a labeled entry in History that states, line by line, which object, which component and which field was touched, with the values before and after. Like a person’s own operations, this external change can be undone in one step, back to how things were; and if the creator has unsaved changes in the editor, the project tool refuses to overwrite them.
Move the bench beside the well
--label

bench_10›Transform›Position
(-3.5, -5.96875, 0)→(-2.5, -3.5, 0)
48 captures not approved by a person
verify’s verdict
FailOf 48 screenshots, 41 differ from the baseline and 7 match pixel for pixel
The 48 screenshots from this run
Differs from the baseline · 41Matches · 7
In the order they were taken: looking for spools by day, lamps lit at dusk, fireworks at night. Click any one to see its baseline, after-the-change and diff images above.
A single field change is easy to see; a change in how a whole playthrough looks has to be just as visible. The engine’s verify starts the built game in headless mode and follows an automation script all the way through, simulating input, waiting and taking screenshots. Take the sample town Hearthwick: one script runs from looking for spools by day and lighting the lamps at dusk through to the night of the Lantern Festival, taking 48 screenshots in under 20 seconds. Move just one bench at the edge of the square, and rerunning verify immediately marks 41 of the 48 as different from the baseline and 7 as matching pixel for pixel, and uses darkened, magenta-painted diff images to outline the bench’s old position, its new one, and the villagers who stand somewhere else as a result.
A more important boundary came from a cold-start trial: an agent that had never seen Verdandi made a small game on its own and got it through verification, but the baseline screenshots were ones it had approved itself. That pass contained no person’s judgement. Since then, approving a baseline strictly records who approved it, an approval from the command line is only ever recorded as an agent’s, and the end of every run states plainly how many captures have not been through a person (48 captures not approved by a person). Automation is there to lay the changes out; whether they stay or get undone is always decided by a person, after looking at the history, looking at the diff images and playing the game themselves.
These are the steps a change takes from the agent’s hands to a person’s eyes. Click a step to light up the places it passes through on the diagram.
Before editing files by hand, the agent first runs the project tool’s label command with a sentence for people to read. The project tool stores that sentence in the change record, together with the original contents of those files before the edit. With the write commands, the agent passes --label directly.
The agent edits scene files directly, or through the project tool’s write commands. The write commands call the same operations library as the editor, so the files they write are the same as the result of doing that operation in the editor.
Each open project has a native editor service process, which talks to the window over JSON-RPC. When it notices that a file has changed, it reloads it, compares it with the original in the change record, works out which fields changed and records a labeled history entry.
The editor service draws the viewport itself on the GPU; during play testing, the game is a separate process. Frames reach the window through a shared texture: IOSurface on macOS, a D3D11 handle on Windows. When that is not available, it falls back to reading back every frame.
verify launches the built game without a window and follows an automation script to send input, wait and take screenshots. The screenshots are compared with approved baseline images, and an error in the game log also counts as a failure.
The person sees every line of the change in the editor’s history and keeps it, or undoes it back to the original; they can also play test and look at the diff images.
Chapter 4
Guardrails that get AI started, and a foundation verified on two platforms
For AI to work reliably in this engine, strict validation alone is not enough; it also needs help following what the engine can already do, instead of reinventing the wheel. This design comes from a very real retrospective: when an agent was asked, early on, to make a small game with the engine, it found the engine but did not read the level guide or ask which features the project had registered. It ended up laying out a play area from 357 floor sprites, going around the tilemap that was already there, and drew three unlit textures in code.
357 floor sprites
One tilemap
Today, what Verdandi gives agents to read is 14 guides divided by “what needs to be done” (split by task, not by engine module), and a project created from a template comes with an AGENTS.md that leads agents straight to them. Each guide states which tools to verify with and which detours to avoid; when the engine seems to lack a feature, the agent must first check with discover and capabilities, so that nothing gets built twice.
Pick a task
- make-game
- game-design
- project-setup
- level-authoring
- gameplay-data
- game-rules
- game-ui
- art-import
- pixel-character
- pixel-world
- run-and-verify
- packaging
- creator-report
- engine-gaps
make-game
Write a brief first, then start from the closest sample game instead of designing rules from scratch. After that, hand off to the art, level, gameplay and UI guides as needed, and finally look at what the player actually experiences.
level-authoring
Levels and objects are written as scenes and prefabs: placement, collision, pathfinding, lights, doors and maps. Many edits go into one batch, which is checked once, written once and appears as one entry in the history.
gameplay-data
Abilities, effects, items, loot, quests, dialogue and input are all written as data. To rename a row, use the tool to change it together with every place that references it.
art-import
Import textures, sprite sheets, animations, particles and sounds, or add an asset pack from the Workshop. When files are moved, copied or deleted, references follow.
run-and-verify
Check content first, then run the game. Test behavior with automation scripts a creator can read and let verify decide; look at the screenshots yourself before approving them.
creator-report
Hand a version to someone who doesn’t read code: an overhead view of the whole level with debug layers, screenshots of the running game with collision and trigger areas shown, and a checklist of what was checked.
engine-gaps
First assume it is in the engine under another name: search the guides and contracts, ask the project tool what is registered, check whether a plugin is turned off, and see how the reference games do it. Only if it really is not there, add it in the project’s own module in the engine’s format, and report the gap to a person. Change the engine only with authorization for engine development.
To shorten the distance from an idea to a first playable picture, the editor also offers three starter templates that contain no C++ (top-down, side view and fixed screen), along with four sample games in the Workshop that share no code and each come with a rules table and a playthrough script. A creator only needs to say “like Arcade, but…” for the AI to start from the closest sample and get into the polishing loop quickly.


At the engineering level underneath, building, testing and the verify playthrough scripts for the engine and the sample games all go through one entry point (node Tests/Run.mjs). It produces a passing report on each of the two platforms, Windows (Visual Studio + Vulkan validation layers) and macOS (Apple Clang + Metal API validation), and deterministic automated tests keep the foundation reliable.
node Tests/Run.mjsWindowsVisual Studio + Vulkan validation layers
- Build
- Test
- verify
- Passing report
macOSApple Clang + Metal API validation
- Build
- Test
- verify
- Passing report
Epilogue
I completed my master’s thesis with Verdandi.
When the volunteers in the experiment really did use this engine to create one wonderful game after another with their own hands, and were willing to put in more time and effort, polishing their work with the AI again and again, I felt that all my years of persistence with game engines had been worth it. While bringing people a new way of looking at game making, Verdandi also lets creators truly enjoy creating together with AI in this new paradigm.