How to make an endless runner with AI (a real Game Boy Advance test)
Also in: Español · Deutsch · Français · Português · Italiano · Nederlands · Svenska · Norsk · Bahasa Indonesia · Türkçe · Polski · Tiếng Việt · Русский · 日本語 · 한국어 · 繁體中文
To make an endless runner with AI, open Shiny Gen, start a new game on the GBA Engine (or the Godot Engine for the browser), and describe the run in the Agent tab: the runner, what scrolls, the obstacles and how to get past each one, what you collect, how it speeds up and the look. The AI agent writes the game, draws the pixel art as code, compiles a real Game Boy Advance cartridge, plays it and fixes what it finds. We did that for this guide. Five messages gave Fox Run: a fox running through a forest that scrolls forever, with far hills and near trees moving at different speeds, logs to jump, branches to duck under, berries to collect, a best distance that is saved, a double jump and a golden berry that lets the fox break through logs. It took about eight minutes of agent time and 83 gems.

The test: five messages, one runner
Everything below is from one real session on 28 November 2026, recorded in the Shiny Gen app. The prompts are copied word for word, the AI's messages are quoted from the chat, and the pictures are screenshots of the app. Nothing was edited by hand.
| Message | What we sent | Agent time | Gems |
|---|---|---|---|
| 1 | The runner, with the art asked for up front | 5 min 31 s | 10 |
| 2 | "continue" | 21 s | 19.4 |
| 3 | "continue" | 19 s | 6.9 |
| 4 | A double jump and a golden berry | 47 s | 21.3 |
| 5 | "continue" | 41 s | 25.4 |
An endless runner is one of the smallest complete games, which is why it is a good first game: the first message did almost all of it.
Step by step: the runner we made
1. Start a GBA game
Press +, choose New, then pick GBA Engine on the Choose an engine screen. In a browser, this link opens a new GBA game directly. The Agent tab is where you talk to the AI.
2. Describe the run, art included
Our first prompt, exactly:

Each obstacle comes with the move that beats it (jump the logs, duck the branches), which is what makes a runner fair.
3. The first message: a working game, and one bug of its own
The agent made the fox frames, the log, the branch, the berry, two forest layers, music and sounds, then wrote the game. Its first test press did not start a run, and it found the cause in its own code:
frame() calls key_poll(), which the engine already does, so every one-shot press (Start, A) is cancelled. I'll remove that call and test again.Then it played: a run with the distance counting, a jump, a hit that ended the run at distance 20, and the best distance saved. Its last message listed what it had not seen yet (ducking under a branch and collecting a berry) and was frank about the art:

4. "continue": the rest, checked
The second message checked ducking under a branch and collecting a berry, and the third looked at the title screen and found nothing to change:

5. Ask for the next change
The fourth message:
The agent added both and checked that the golden berry starts its timer and shows a glow ring. The fifth message moved the title down so a drifting cloud no longer covered a letter. In its messages it confirmed the golden berry's glow, but it did not report seeing a double jump or a log breaking in play, so those are the first things to try yourself.

One more thing to check: on the last title screen the best distance read 0, after it had shown 32 earlier in the session, so play a run and look at the title to make sure your best is kept.
6. Play it and download the ROM
The game plays in the editor and from its card: on-screen buttons on a phone, the keyboard or a controller on a computer. Press Share, then Export .gba ROM to download the cartridge. Exporting is included with any purchase. The ROM guide covers emulators and flash carts.
What we learned from the test
- A runner is a good first game. One message gave a complete, playable game.
- Pair each obstacle with its move. Jump for logs, duck for branches: the agent built and tested both.
- Read the art note. The agent called its own forest placeholder-quality; ask for the look you want next.
- Try the newest moves yourself. The double jump and the log breaking were added but not shown working in its messages.
What to put in an endless runner prompt
- The runner and its moves: jump, double jump, duck, slide, dash.
- What scrolls: the ground, and background layers at different speeds.
- Obstacles: each one, and the move that gets past it.
- Pickups and power-ups: what they give and for how long.
- Speed and score: how it speeds up, what counts, and a saved best.
- Screens and the look: title, pause, game over, sprite sizes, colors, and "draw the art yourself as code".
What the GBA can hold, for a runner
- Screen: 240 x 160 pixels.
- Background layers: several that scroll separately, which is what makes the parallax hills and trees here.
- Sprites: up to 128 at once, more than enough for the fox, obstacles and berries.
- Saves: a 128 KB flash save, like a real cartridge, for the best distance.
Ideas to ask for next
- "Redraw the forest with more detail: mushrooms, ferns and a stream."
- "Add a night section where the sky darkens and fireflies appear."
- "Add a bat that swoops down, so I have to time my duck."
- "Show a ghost fox of my best run."
- "Add a shop on the title screen where berries buy new fox colors."
FAQ
Can AI make an endless runner?
Yes. Describe the run and the look, and Shiny Gen's agent writes the game, draws it and tests it. This one took five messages, about eight minutes of agent time and 83 gems, and the first message alone made a playable game.
Can AI make a game like Chrome's dinosaur game or Temple Run?
Yes, a game in the same genre: an endless runner, like the one on this page. Make it your own, with your own runner, names and art, especially if you share or sell your game.
Is it a real .gba ROM?
Yes. It is a standard .gba cartridge image compiled to ARM machine code. We have played GBA ROMs made this way, saves included, on a Game Boy Advance and a DS Lite through a flash cart, and any GBA emulator opens it.
Can I make it for the browser instead?
Yes. Pick the Godot Engine and describe the same game; it plays in a browser and on phones. See our beginners' test, where a cat runner was made on Godot.
Is it free?
Making, playing and sharing games is free. The built-in agent uses gems, and new accounts get free gems. Downloading the ROM is included with any purchase. See the pricing page.
