Shiny Gen / Blog

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.

Ninja vs Monk on the GBA engine: a blue ninja and a red monk facing each other on a wooden dojo floor in front of paper walls with red banners, with NINJA and MONK health bars, a round timer of 42 and WINS 1 and WINS 0 at the top.
Ninja vs Monk, round 2 after the ninja won round 1. The agent drew the fighters and the dojo as code.

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.

MessageWhat we sentAgent timeGems
1The fighting game, with the art asked for up front5 min 28 s10
2"continue"54 s52.5
3"continue"5 s4
4More blocking in round 3, and a slow-motion knockout1 min43.5
5"continue"4 s4.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:

Make a 2D fighting game for the Game Boy Advance with real pixel art. Two fighters face each other on a dojo stage: a ninja in blue and a monk in red. Each can walk, jump, crouch, punch with A, kick with B, block by holding back, and throw a fireball with Down, Forward and A. Two health bars drawn as real bars at the top, a round timer, best of three rounds, and the computer controls the other fighter. Draw all the art yourself as code: 32x32 fighters with idle, walk, punch, kick, hit and knockout frames, a fireball, and a dojo background with a wooden floor and paper walls. A title screen, a fighter select screen and a winner screen.
The first prompt typed into the Agent tab of a new GBA game in Shiny Gen.
The first prompt, in the Agent tab.

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:

Not verified: - Fireball (Down, Forward, A): I tried it twice and no ball appeared on screen. The code may be failing to spawn it, or the timing may be off. I need to find out which before I can say it works.

It had checked walking, crouching, punching with sparks on a hit, the health bars, the timer and the computer fighting back.

The Shiny Gen editor after the first message: the monk and the ninja trading blows on the dojo floor with both health bars at the top, and the agent's list of what is not verified yet, ending with "Worked for 5m 28s, 10.0 gems".
The end of the first message: the fight works; the fireball and the winner screen are still to check.

4. "continue": the fireball, found and checked

The second message went after the fireball and confirmed it in play:

I tested the fireball, and it works. It flies across the stage as a glowing ball, and the Monk had to jump over it.
Ninja vs Monk in play: the monk jumping high over the stage while the ninja stands at the left, with both health bars and a round timer of 41.
The monk jumping during the fireball test.

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

The Ninja vs Monk title screen: DOJO DUEL, NINJA VS MONK, BEST OF THREE, and the controls MOVE, UP JUMP, DOWN CROUCH, A PUNCH, B KICK, BACK BLOCKS and DOWN FWD A = FIREBALL, over the two fighters in the dojo.
The title screen lists every move.

5. Ask for the next change

The fourth message:

Make the computer block more often in the third round, and add a short slow-motion moment on the final knockout.

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:

That is only four tries, so it shows blocking works in round 3 but not an exact rate.

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

What to put in a fighting game prompt

What the GBA can hold, for a fighting game

Ideas to ask for next

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.

Shiny Gen is not affiliated with or endorsed by Nintendo or Capcom. Game Boy, Game Boy Color, Game Boy Advance and DS are trademarks of Nintendo; Street Fighter is a trademark of Capcom. They are named here only to describe.

Last updated: November 29, 2026

Start makingDownload on the App StoreGet it on Google Play