LJYC
The Verdandi logo as a relief on a white wall: a girl’s profile in deep blue, a four-pointed star, and a ribbon shading from blue to purple that wraps around her long hair.
The Verdandi icon 2026 – present

Verdandi

A 2D game engine that hands execution to AI and leaves feeling and judgement to the creator.

After finishing Visera II, the engine I built before this one, I had in effect confirmed a conclusion that seems counterintuitive: in the age of agents, the traditional editor, built around pointing, clicking and dragging with a mouse, is at heart an ancient tool that an older era of HCI (human–computer interaction) left to people.

On the surface, it piles up visual editing panels and node-graph systems made for manual human operation, and the industry itself is moving this kind of visual scripting back toward text. Underneath, the problem runs deeper: large amounts of editor-specific code that exists only to serve a human UI inevitably pollute the engine’s core logic and dilute the AI’s context; and binary asset formats, adopted for the last bit of efficiency, shut the AI out, forcing it to go through tools just to read the most basic information in a project. Yet a good share of that data costs next to nothing on today’s hardware, and could just as well take a form that both people and AI understand more easily.

So why did Verdandi bring in an editor after all? Because making a game is, in the end, the shaping of human artistic thought. AI can complete tasks efficiently, but it is limited by its own capabilities, and by what gets lost when people put taste and feel into vague language; it cannot lift a work to another level on its own. So the editor of the new era is no longer mainly for heavy editing. It is a window for the human game artist, laying what can be seen and felt directly in front of them, and helping creators understand, think and decide.

In the HCI loop of making a game (the human–computer interaction loop), AI is there to shorten each round of hands-on work, while the engine and this window are there to let creators see the process clearly and check the result.

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.

Day
Night
The square in the Hearthwick sample, with the camera held still: the sky dims, the lamps come on one by one, and their light falls on the cobblestones and the people. Drag the timeline to move back and forth.

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.

A top-down view of the whole pixel-art town: the square and its well in the middle, with the loom pavilion, bakery, smithy, inn and a few cottages around it, and trees, street lamps, villagers and hens scattered between them.
The whole town of Hearthwick. This overview was drawn directly by the engine’s command-line tool.
The night of the Lantern Festival in Hearthwick: gold and pink fireworks burst above the well; street lamps, a brazier and strings of lanterns light the cobblestones and grass in warm tones; villagers and the heroine stand in the square, and a house with lit windows sits at the lower right.
The Albedo view of the same frame: only the base colors of things, with no fireworks and no light.
The night of the Lantern Festival in the Hearthwick sample. On the left is the picture in the game; on the right are the engine’s own lighting views: base color, emitters, light as it spreads, light arriving from one direction, and light that lands on things. Drag the line in the middle left or right.

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.

A hall in Emberdeep: a round stone chamber in the dark, ringed by glowing lava, with a boss whose head is aflame standing at the center over a ring of fire and sparks.
Another sample, Emberdeep: a ring of lava around the hall lights the floor and the boss at its center.
The editor during play testing: Live World on the left lists the running objects, and a search for Hob leaves only Hob and two patrol points; the viewport in the middle shows the running game with a dialogue box; Live object on the right shows Hob’s state tree villager in state to_b for 2.5 seconds, Task Move Running, last transition wait_a → to_b.

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.

The Live object panel, enlarged: object Hob, Behavior villager; State to_b, Time in state 2.5 s, Task Move Running; below that, a line reading day › to_b 2.5 s, and a last line reading Last transition: wait_a → to_b (completion).

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.

The Hearthwick square after dark: street lamps, a brazier and strings of lanterns light the cobblestones, and villagers stand by the well.

Overlays

Lighting view

The square after dark, one frame. Pick a name below to switch to the overlay or lighting view the engine draws on this frame; the names are the ones in the editor’s menu.

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).

The Verdandi Editor main window: the list of objects in the scene on the left, a pixel-art town square in the viewport in the middle, the Inspector on the right showing the Transform, Sprite and other components of the selected villager Hob, and the asset panel below.

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

The Transform number fields 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

Scene.scene
Well Bench Street lamp Villager
Prefab.prefab
  • Sprite
  • Footprint
  • GroundShadow
  • Transform
State tree.data
Button Button Label
UI.ui.uss
Data table.data
Automated test script.automation
  1. Go to
  2. Press
  3. Wait
  4. 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 skipped
The same set of checks

validate

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

The Begin button on the title screen.
HandlerC++

Build passes

The game’s opening scene.
No handler

Compile error

Never gets this far

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:

The editor’s Undo history popup open above the viewport: a labeled external change at the top with two changes listed below it; in the viewport the bench has already moved beside the well, and the status bar at the bottom shows the same label.
The history popup enlarged: the label Brighten the evening bounce light and move the bench beside the well, marked External reload; below it, 2 changes: sky › Map Lighting › Bounce Strength 0.2 → 0.3, and bench_10 › Transform › Position from (-3.5, -5.96875, 0) to (-2.5, -3…).
Up close: two changes under the label, the sky’s bounce light strength 0.2 → 0.3 and the bench’s position.

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.

AI agent

Move the bench beside the well

--label
Before the change: the bench sits by the flowerbed.
Before
Undo
After the change: the bench has moved into the square.
After
Object › Component › FieldBefore → After

bench_10TransformPosition

(-3.5, -5.96875, 0)(-2.5, -3.5, 0)

27 / 48
The approved baseline: the town square at night, a few villagers standing under lanterns and bunting, with the well and a long table of bread in the middle; a bench sits by the flower bed at the lower left. The screenshot from this run after the change: the same square, with the bench moved next to a street lamp left of center, and several villagers standing in different places than in the baseline. The diff image written by verify: the whole frame darkened, with the bench’s old position, its new position and several villagers painted magenta.
The approved baseline: the square on the night of the Lantern Festival. The bench is still by the flower bed at the lower left. The same spot captured in this run after the change: the bench has moved into the square, and several villagers are standing in different places as a result. The diff image verify writes automatically: the whole frame darkened, with the pixels that differ from the baseline painted magenta. The magenta marks the bench’s old and new positions, and the villagers who are standing somewhere else.

48 captures not approved by a person

verify’s verdict

FailOf 48 screenshots, 41 differ from the baseline and 7 match pixel for pixel

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.

Diagram of how the agent, the project tool, the change record, the project files, the editor service, the editor window, the game process and the person connect label originals hand edits write commands changed label and originals JSON-RPC · shared texture verify runs headless screenshots looks keep or undo AgentWorks in the terminal Project tool<Project>Tool Change recordLabels and pre-edit originals verifyThe engine’s command line Project filesScenes, prefabs, data tables Editor serviceNative process, one per project GameOwn process, can run headless PersonWatches, adjusts, confirms Editor windowElectron + React Screenshot diffBaseline and diff images
  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

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.

The editor’s New project page: three template cards, Top Down, Side View and Fixed Screen, each with a simple illustration; a line at the bottom suggests looking for samples in the Workshop.
The editor’s Workshop page: below the filter chips are four sample cards, Action, Arcade, Arena and Pointer, each with a picture of the game and a one-line description.
The four samples in the Workshop: Action, Arcade, Arena and Pointer.

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.

One entry pointnode Tests/Run.mjs

WindowsVisual Studio + Vulkan validation layers

  1. Build
  2. Test
  3. verify
  4. Passing report

macOSApple Clang + Metal API validation

  1. Build
  2. Test
  3. verify
  4. Passing report
The night of the Lantern Festival in Hearthwick: the whole town stands in the square under four bursts of fireworks.

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.