Skip to content

AI NPC generator: an NPC is behaviour, not a portrait

By Eduardo Orellana · Updated

Most NPC generators give you a name, a face and a backstory nobody reads. Flockbay puts the character in your world and writes what it does, in GDScript, inside a real Godot project. Free AI to start: Flockbay's AI and your own Claude, ChatGPT, agent or API key are free for your first build; after that, a plan keeps you building. It runs on Windows, macOS and Linux, on the official Godot engine.

The main page on this subject is AI game generator: what one sentence can generate, and where it runs out.

AppImage, x86_64. Ubuntu 22.04, Debian 12, Fedora 39 or newer.

Intel or AMD Chromebook, with Linux turned on.

Download for macOSDownload for WindowsDownload for Linux

The generator that stops at the description

There is no shortage of tools that produce an NPC: a name, a portrait, a profession, three personality traits and a secret. They are pleasant to read and they do not move. Put one in a game and you still have a character standing perfectly still in a doorway.

The gap is behaviour. What makes an NPC feel alive is that it walks somewhere at a plausible time, reacts when you approach, notices when the weather turns, and does something other than exist. That is code, and no amount of biography substitutes for it.

So the useful question is not how to generate a character sheet. It is how that behaviour gets into a running game, standing in a real place.

Describe what the character does

That is the interface. You say the blacksmith works the forge in daylight, walks to the tavern at dusk, and stops what he is doing if the player draws a weapon within a few metres. Flockbay writes the GDScript that does it, in your project, where you can read it if you want to.

The same applies to guards with patrol routes, animals that flee, merchants with stock that changes, crowds that react to a fight. None of it requires you to know what a state machine is, and all of it is ordinary code that Flockbay produces and revises.

Then you play it. If the blacksmith walks through a wall, or the guard notices you from an absurd distance, you say so and it changes. Judging that is your job and it does not require reading a line of the implementation.

Behaviour needs a place to happen in

This is why the world matters for NPCs specifically. Behaviour is relative to a place: this door, that market square, the road between the two villages. Flockbay builds that place from the brief you approved and puts the character and its landmarks in it, in whichever world the brief settled on: a 3D scene, or a flat one where the character is a sprite at an exact position, rotation and scale. The routine can then point at real nodes in the scene tree instead of places it had to imagine.

A 3D world can carry terrain, water and weather from Godot plugins, so a character there can respond to conditions that already exist rather than ones invented for it. A flat world has fewer of those to respond to. What it has is a TileMapLayer, the backdrop behind it and the sprites on top, and a routine hangs off those just as well.

When the forge should sit three metres to the left, you do not have to describe it. Godot's own editor is right there, so you can move it yourself, and Godot's undo takes it back. Appearance comes from a library of ready-made characters and objects, from generated pictures, or from your own files.

Be clear about what runs at runtime

Flockbay writes code while you make the game. It is not sitting inside your finished game improvising dialogue for players. What ships is GDScript in a Godot project, running locally, deterministic and inspectable.

That is a feature rather than a shortfall. Behaviour written as code can be tested, repeated and fixed. It also costs nothing to run and does not need a connection while someone plays.

Building does need an internet connection, because the chat and asset generation come over the network. Playing what you built does not.

What it costs and what it runs on

Flockbay is a desktop app for Windows, macOS and Linux with Godot bundled inside it. It is a download, not a browser tool.

The download is free, and so are the editor, your own art, playtesting and export. Free AI to start: Flockbay's AI and your own Claude, ChatGPT, agent or API key are free for your first build; after that, a plan keeps you building. Flockbay builds from a library of ready-made objects, or with Godot's own shapes.

More on this: AI game maker, online and free: half of that is true here

Crowds, and why most worlds feel empty

One well-behaved character is convincing. Twenty identical characters standing in a square are worse than none, because the repetition tells the player the world is a set. Variety is what sells a populated place, and variety is mostly small differences in behaviour rather than in appearance.

Different walking speeds, different destinations, different reactions to the same event, a few who are doing something unusual. Those are cheap to describe and they do most of the work.

Because the game runs locally on your own hardware rather than being streamed, the number of characters you can simulate is a question about your machine rather than a bandwidth budget. That is a large part of why a populated world is a reasonable thing to attempt here.

Questions

Does this generate NPC dialogue?
You can have Flockbay write dialogue and the system that shows it. What ships in your game is written content and code, not a model improvising at runtime.
Can NPCs have schedules and patrol routes?
Yes. Describe the routine and the reactions, and Flockbay writes the GDScript for it inside your project.
Where do the character models come from?
A library of ready-made characters and objects, Godot's own shapes, your own files, or a generated model if you add your own Tripo key. Flockbay says which route it used rather than pretending.
Do I need to code?
No. You describe behaviour and judge the result by playing it.
Is it free?
The app is free. Free AI to start: Flockbay's AI and your own Claude, ChatGPT, agent or API key are free for your first build; after that, a plan keeps you building.

Free for Windows, macOS and Linux. Put a character in a world and give it something to do.

Download Flockbay free