How to make a 2D fighting game 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 a 2D fighting game with AI, open Shiny Gen, start a new game on the GBA Engine, and describe the fight in the Agent tab: the two fighters, every move and its button, the health bars, rounds and timer, the computer opponent and the stage. The AI agent writes the game, draws the fighters 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 Ninja vs Monk: a ninja in blue and a monk in red on a dojo stage of paper walls and a wooden floor, with walking, jumping, crouching, punches, kicks, blocking, a fireball, health bars, a round timer, best of three rounds, a fighter select screen and a computer that blocks more in the third round. It took about eight minutes of agent time and 114 gems.

The test: five messages, one fighting game
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 fighting game, with the art asked for up front | 5 min 28 s | 10 |
| 2 | "continue" | 54 s | 52.5 |
| 3 | "continue" | 5 s | 4 |
| 4 | More blocking in round 3, and a slow-motion knockout | 1 min | 43.5 |
| 5 | "continue" | 4 s | 4.6 |
We first tried the same game on the Game Boy Color, where the agent had to fit the stage and the text on one background layer. That take ended with health bars drawn as text characters and a fireball the agent never saw fire from real button presses, so we recorded this one on the Game Boy Advance, which has more room for a fighting game.
Step by step: the fighting game 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 fight, art included
Our first prompt, exactly:

A fighting game is a list of moves, so the prompt gives every move its button. "Health bars drawn as real bars" is there because the first take drew them as text.
3. The first message: a fight that plays
The agent built the title, the select screen and the fight, then played through them. Its last message split what it had seen from what it had not:
It had checked walking, crouching, punching with sparks on a hit, the health bars, the timer and the computer fighting back.

4. "continue": the fireball, found and checked
The second message went after the fireball and confirmed it in play:

The third message added nothing new and summed up the controls, with the title screen showing every move.

5. Ask for the next change
The fourth message:
The agent raised the computer's block chance in round 3 from 40 to 75 percent and tested it, and was careful about how much four punches can prove:
It added the slow motion on the knockout that ends the match, and said it had confirmed it by forcing the knockout and reading the game's variables, not by watching it at normal speed.
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.
Things to try yourself first: a whole best-of-three fought by hand, the winner screen at the end of it, and the slow-motion knockout. The agent forced those rather than fighting them out.
What we learned from the test
- Pick the machine for the genre. Two big fighters, bars and a stage fit the GBA better than the Game Boy Color.
- Give every move a button. The agent built and listed each one, and the title screen shows them.
- Ask for the look you mean. "Real bars" got real bars.
- The agent separates seen from forced. The fireball was seen in play; the slow motion was checked through the game's variables.
What to put in a fighting game prompt
- The fighters: who they are, their colors, and their size.
- Every move and its button: walk, jump, crouch, punch, kick, block, specials and their inputs.
- The rules: health, the timer, rounds, and what wins.
- The opponent: a computer fighter, how hard, and whether it changes by round.
- The stage and screens: the background, title, select, winner.
- The look: sprite sizes, animation frames, and "draw the art yourself as code".
What the GBA can hold, for a fighting game
- Screen: 240 x 160 pixels; 32 x 32 fighters leave room to move.
- Sprites: up to 128 at once, each up to 64 x 64, plenty for two fighters, sparks and a fireball.
- Background layers: more than one, so the stage and the text do not have to share; in our Game Boy Color take they did.
- Saves: a 128 KB flash save, like a real cartridge.
Ideas to ask for next
- "Add a third fighter, a sumo wrestler with a slow, heavy slam."
- "Add a two-player mode for a second controller."
- "Add a combo counter for hits landed in a row."
- "Make the fireball bigger with a glowing trail."
- "Add a second stage on a mountain bridge at sunset."
FAQ
Can AI make a fighting game?
Yes. Describe the fighters, the moves and the rules, 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 114 gems.
Can AI make a game like Street Fighter?
Yes, a game in the same genre: a 2D one-on-one fighter with rounds, health bars and special moves, like the one on this page. Make it your own, with your own fighters, 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 a fighting game for the Game Boy Color?
Yes, and Shiny Fighter Color in the catalogue is one. Plan for its limits: in our Game Boy Color take the stage and the text shared one background layer, and it shows fewer sprites per line.
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.
