Skip to content
Docs

AI assistant

Asking for changes by typing in the editor 0.4.0: which packages include the AI layer, how to install a model on your computer, how often it really gets it right and how to review each proposal.

DescribesEditor 0.4.0 For creating without programming

On this page

The assistant is an editor panel where you ask for a change in your own words: "add three coins", "change the colors to sunset". It builds the change, checks it and shows it to you before touching your game. You decide whether it is applied.

This page also says what the assistant does not do well. Read all of it before trusting it with a game.

Three ways to use it#

WayWhat it isWhat it needs
Basic assistant, no modelIt is not artificial intelligence: it recognizes common requests by their words and builds them instantly.Nothing. It always works, offline and with nothing to download.
Model on your PCAn AI model that runs on your computer. Your games never leave it.The editor's AI layer, the Ollama program and a downloaded model. A graphics card with plenty of memory, or a lot of patience.
Cloud modelsA model that runs on a server.Today there is no published Green Games service. It only works if you have your own service and enter its address.

The first time you open the Assistant panel, the editor asks you to choose:

The Assistant panel before choosing.

Choose how to use it opens Your AI assistant. The same thing is always in Settings.

The same thing, inside Settings.

What your installation includes#

The assistant with a model needs the Green Games AI layer, a program that goes with the editor. Not every package includes it:

Editor 0.4.0 packageAI layer
Windows, installerYes
Windows, portable zipYes, in the ia\ folder
Linux, tar.gz fileYes, in the ia/ folder
macOS, both zip filesYes, inside the app
Windows, standalone executable (.exe)No

Up to 0.2.0 the macOS package came without the AI layer; since 0.3.0 it includes it. Without the layer, the editor works in full and the assistant works in basic mode, and says so. The Your AI assistant screen tells you what it found:

The real status of the AI on the computer, before choosing.
LineWhat it means
Your computerRAM, video memory and cores the editor detected. If it detects no graphics card, it says so and recommends based on RAM alone.
Green Games AI layer"connected. It ships with the editor." or "not connected."
OllamaIf it is running, its version and the downloaded models. If not, the steps to install it.
Cloud service"not published yet."
Without a model"always available."
What fits bestThe editor's recommendation for your computer.

The basic assistant#

Pick Basic assistant, no model and press Use this option.

The basic option: no model and no downloads.

It recognizes requests like these, which the assistant itself reminds you of when it does not understand something: "add a bridge that goes up and down", "make a lava level", "build me a block dragon character", "change the colors to sunset", "make it harder", "add 5 coins" or "place a tree".

If you also have the AI layer connected, it solves exact requests with its own operations, without a model: "add three coins", "put two enemies", "make it easier", "change the colors to ice", "put a tree and a house next to the start". They are fixed operations: they always do the same thing and are validated and tested with the bot.

What it does not understand, it says:

We asked for a story with dialogue. The basic assistant does not make things up: it says what it can do.

It works the same in English as in Spanish: in our session it understood "change the colors to sunset" and "add three coins", and answered in English.

Asking for a change and reviewing it#

Type the request at the bottom, in Ask the assistant for a change…, and press Enter. The assistant answers with a proposal:

The proposal: a preview in the scene, what changes and the buttons to decide.

A proposal has:

PartWhat it tells you
The answerWhat the assistant says it did and, after that, a Checked: … sentence with what was reviewed.
The check labelverified only if three things hold: the validator finds no errors, the test bot finishes the game and the new or moved pieces do not overlap others. If one is missing, the label says which (see the table below).
bot finishes it, bot cannot finish it or not bot-testedWhether the test bot wins the game with the change in place, or whether it could not be tested.
The origin lineHow many things change and who did it: the basic assistant with no model, or "local" with the model's name.
What changesPieces that are new, changed or removed; rules; files, with their added and removed lines.
View in the scene: Before / AfterSwitches the viewport between the game as it is and as it would be. What is new is highlighted.
Apply and DiscardNothing changes in your project until you press Apply.
Before: the game as it is now.

When applied, the change is a single step in the history: it is undone with Ctrl+Z or with Undo this change in the conversation. The conversation is saved with the project.

An exact request, add three coins, solved without a model.

The Checked sentence says what was really reviewed. For a request that adds pieces it reads like this: "Checked: the game is still valid; the test bot finishes it; the new or moved pieces do not sit inside solid pieces that were already there." If the assistant had to move a piece because it sat inside another one, or if something could not be checked, the answer says that too.

The label can be one of five:

LabelWhat it meansButton
verifiedThe validator, the bot and the check for overlapping pieces all came out fine.Apply
validated, not bot-testedThe game is valid, but it was not tested with the bot: whether it can be finished was not checked.Apply
validated and bot-tested, overlaps not checkedIt is valid and the bot finishes it, but whether a turned piece overlaps another could not be checked.Apply
has overlapping piecesSome pieces sit inside others. The editor tells you: "This proposal leaves overlapping pieces, so it is not verified. You can look at it and apply it anyway".Apply anyway
failed verificationThe validator found errors or the bot cannot finish the game.Apply anyway

Up to 0.2.0 overlapping pieces were not checked. Proposals saved in a conversation from that version are shown with the label that matches what was checked back then, never as "verified".

Use Apply anyway only if you know what you are going to fix afterwards: with a proposal that failed verification, the game may end up impossible to finish.

Using a model on your computer#

You need the AI layer (see the table above) and two more things, which you provide:

  1. Install Ollama. It is the free program that runs models on your computer. It does not ship with the editor: you install it separately, once, from its official site. The editor looks for it at http://127.0.0.1:11434 and, if it does not find it, shows the steps.
  2. Go back to Your AI assistant and press Check again. The Ollama line must state the version and that it is running.
  3. Under Model on your PC, press Download on the model you want. The download shows its progress. It never starts by itself.
  4. Select the installed model and press Use this option.
Without Ollama, the models are shown but cannot be downloaded.
With Ollama running and models downloaded.
The chosen model, already installed.

These are the models editor 0.4.0 offers, with what the editor itself says about each:

ModelDownloadMemory it needsWhat the editor says
qwen2.5-coder:14b9 GB11 GBThe best of those measured: solves 31 of the 41 benchmark requests (76%). Recommended for 16 GB cards and up.
qwen3-coder:30b19 GB26 GBOnly for 32 GB cards. Measured with half the context: 49% of the benchmark.
qwen2.5-coder:7b4.7 GB7 GBFor 8 GB cards, or CPU only with 16 GB of RAM (slow). Measured: 41% of the benchmark.
qwen2.5-coder:3b1.9 GB4 GBThe bare minimum to try. Unmeasured.

The recommended one is qwen2.5-coder:14b. If your computer has no graphics card with that much memory, the editor tells you ("Does not fit on this computer") and suggests a smaller one, which gets a lot less right.

How often it really gets it right#

These are the measurements that exist. There are no others.

On the benchmark. Green Games measures the assistant with 41 fixed requests, each with a check that the requested change happened. With qwen2.5-coder:14b, on a computer with a high-end dedicated graphics card:

MeasureResult
Requests solved31 of 41 (76%)
Solved on the first attempt30 of 41
Of those 31, solved by an operation without a model8
Time per request, median19 seconds

By type of request: creating a game, 6 of 9; editing an existing one, 8 of 13; fixing a problem, 5 of 5; building a piece or a character, 6 of 6; rejecting what does not belong, 6 of 8.

On free-form requests, written by hand. Here the results are uneven. Seven requests were tried with the same model inside the editor, twice:

  • They ended in a valid change (verified and with the bot winning) five out of seven the first time and three out of seven the second.
  • Two requests failed both times. Two passed once and failed the other time.
  • Valid was not the same as correct. Of the five valid proposals of the first run, read one by one, only one did what was asked; another did half of it; and three were changes that worked but were not the request. The three of the second run did do what was asked.

In our session for this guide. With editor 0.4.0, on the Collection template, with qwen2.5-coder:14b:

The model at work. It can be canceled.

We asked "add a purple decorative platform near the goal". It took 51 seconds (it was the first request: that includes loading the model). The proposal arrived with the labels "verified" and "bot finishes it":

Verified, yes. But look where it put it.

But that template has no goal: you win by collecting all the coins. The model did not say so. It put a 3 by 3 decorative platform, with no physics, inside the purple stage that already existed: only one edge sticks out. The answer says the new pieces do not sit inside solid pieces that were already there, and the check did not flag it, because a piece with no physics collides with nothing:

Applied. It is a valid change that is not much use.

The second request was more concrete: "put a stone wall 6 wide between the start and the goal, leaving a gap on the right". It took 16 seconds and put a single stone wall 6 wide, 2 high and 1 deep, over a lava zone. The overlapping check raised it 0.2 because it sat inside another piece, and the answer says so. The width and the material are the ones requested; there is no gap on the right: the wall can be walked around on both sides.

The second request: a stone wall 6 wide.

Two requests, two "verified" proposals, and neither did exactly what was asked. It is a small sample, but it matches the measurements above. The model's answers vary from one run to the next: this guide's Spanish session got different pieces for the same requests.

How to ask so it comes out better#

  • One change per request. "Add three coins" and then "paint the wall red", not both things together.
  • Be concrete. Say what, how much and where: "a stone wall 6 wide in front of the start". Use the names of the pieces you see in the Outline.
  • Ask for what exists. If your game has no goal, do not ask for something "near the goal".
  • Prefer exact requests when they fit: a fixed operation solves them, in seconds and always the same way.
  • Look at Before and After in the scene, and read What changes. If it is not what you wanted, Discard costs nothing.
  • Test after applying. Play for a moment. If something came out odd, Ctrl+Z.
  • Do not ask it to touch the Rules. The editor writes the script's rules block; the model cannot change it and those requests fail. Change the rules in the Rules panel.

Limits#

  • With the standalone Windows .exe there is no AI layer: only the basic assistant.
  • In a Blocks project the assistant is turned off.
  • There is no published cloud service.
  • The model does not see the screen: it works on the game's files.
  • Small models get a lot less right. With qwen2.5-coder:7b the benchmark gives 41%.
  • With no graphics card, a model runs on the processor and is slow.
  • The measurements are from a single computer and a single date. On another computer the times change.
  • It does not make models, textures, drawings or sounds. If you ask it to, it answers that it does not generate them and says where the asset workshop and the importer are. It does not receive the list of what is in the workshop either.
  • In a project with models, textures or sounds, the assistant keeps them as they are: it cannot write or delete them.

Next#