Shiny Gen / Blog

How to make a Game Boy Color RPG with AI

To make a Game Boy Color RPG with AI, open Shiny Gen, start a new game on the GBC Engine, and describe the RPG in the Agent tab: the hero, the town, the quest, the battles and the look. The AI agent writes the game, draws the pixel art as code, compiles a real Game Boy Color cartridge, plays it and fixes what it finds. We did that for this guide. Five messages gave Lighthouse Knight: a knight in a seaside town, a mayor whose quest you can accept or refuse, an inn that heals for 10 gold, a potion shop, turn-based battles against slimes in tall grass with gold, experience and level-ups, and a slime king. It took about fifteen minutes of agent time and 195 gems.

Lighthouse Knight on the Game Boy Color engine: a seaside town with four red-roofed houses, sand paths, the sea along the bottom, the knight and four townspeople in green, purple, red and orange, and G 20, P 0, HP 20/20 along the top.
The town in Lighthouse Knight, drawn by the cartridge. Every tile was drawn by the agent as code.

The test: five messages, one RPG

Everything below is from one real session on 24 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 or frames drawn by the cartridge. Nothing was edited by hand.

MessageWhat we sentAgent timeGems
1The RPG, with the art asked for up front5 min 31 s10
2"continue"1 min 37 s32
3"continue"1 min 15 s17
4An inn, gold from slimes and a shop1 min 55 s40
5"continue"4 min 21 s96

An RPG is a bigger job than an arcade game, so the agent builds it a piece at a time. Each turn ends by saying what works, what it tested and what is still to build, and "continue" picks it up again.

Step by step: the RPG we made

1. Start a Game Boy Color game

Press +, choose New, then pick GBC Engine on the Choose an engine screen. In a browser, this link opens a new GBC game directly. The Agent tab is where you talk to the AI.

2. Describe the RPG, art included

Our first prompt, exactly:

Make a Game Boy Color RPG with real pixel art. A young knight starts in a small seaside town with a few houses, an inn and an old mayor who asks for help: slimes have taken the lighthouse. Talk to townspeople with A; the mayor's dialogue gives you a choice to accept or refuse. Walk the top-down town and a short grassy path to the lighthouse, where turn-based battles start when you meet slimes: Attack, Defend, Potion, Run, with HP for both sides and experience that levels you up. A slime king waits at the top of the lighthouse. Draw all the art yourself as code in Game Boy Color palettes: 8x8 tiles for grass, sand, water, houses and the lighthouse, a 16x16 knight with walking frames in four directions, townspeople and slimes. A title screen, a text box for dialogue, and an ending screen.
The first prompt typed into the Agent tab of a new Game Boy Color game in Shiny Gen.
The first prompt, in the Agent tab.

It names the parts an RPG needs: a place, people to talk to, a reason to leave, a fight system with numbers, a goal and the screens around it. "Draw all the art yourself as code" tells the agent to draw every tile and sprite as a small script it can redraw on request.

3. Let it plan, then send "continue"

The agent spent the first turn reading the Game Boy Color reference and planning. It settled on one screen per area rather than a scrolling map:

I'm settling on a plan where each area is one 20x18 screen drawn from code, with no camera or scrolling. The screens will be the town, the path, the lighthouse floor, and the top boss room.

In our recording that first turn then stopped with a connection error before it had written any code, so we sent "continue". The second turn built the first playable slice: a title screen, the town drawn from code-made tiles (grass, flowers, sand, water, houses and trees) and a 16 x 16 knight walking in four directions. It was plain about how much was left:

This is only the first slice of the game.

4. Talk to the mayor

The third turn, another "continue", added the mayor, a villager and the text box. It played its own game and found a bug of its own on the way: the knight had started inside the water and could not move.

The knight can walk now. Before this he started inside the water and was stuck. I moved his start position onto the path.

The mayor's request comes up in a text box, Left and Right pick YES or NO, and A confirms. Accept and he sends you north; talk to him again and he wishes you luck.

Lighthouse Knight: the knight stands next to the purple mayor in the town, and the text box at the bottom says THANK YOU! GO NORTH TO THE LIGHTHOUSE. BE CAREFUL!
The mayor's quest after choosing YES.

The agent listed what it had not checked: the NO answer, the villager, and a streaky look on the grass in some of its screenshots that it could not tell apart from a capture glitch. It also noted that the townspeople reused the knight's tiles in other colors, which is why they look alike.

5. Ask for the next change, and read the answer

Our fourth message asked for things that leaned on battles:

Now let the inn heal you for 10 gold, make slimes drop gold, and add a shop in town that sells potions.

The agent built the inn, the shop and a gold, potion and HP bar along the top, fixed a freeze at startup it had caused, and said what it could not do yet:

The inn and the potion shop are in and the game runs again. Slimes don't exist yet, so nothing drops gold yet.
The Shiny Gen editor with Lighthouse Knight: the town with the HUD at the top showing gold 20, potions 0 and HP 20/20, the red innkeeper and the orange shopkeeper, and the agent's note that the inn heals for 10 gold and the shop sells a potion for 15 gold.
The inn and the shop, with the gold, potion and HP bar.

This is worth learning from: we asked for slime gold before there were slimes. The agent did not pretend; it built what could be built and said what was missing. Asking for one layer at a time gets there faster.

6. The battles and the slime king

The fifth message, "continue", built the battle system. Walking into the tall grass on the path starts a fight with a menu of Attack, Defend, Potion and Run, HP for both sides, and a text line for each move.

A battle in Lighthouse Knight: the knight faces a green slime on the grass, SLIME HP 9 at the top, and the menu ATTACK, DEFEND, POTION, RUN at the bottom with the cursor on RUN.
A turn-based battle against a slime.

The agent played the first battle itself:

Turn-based combat works: the slime hits back, and my HP drops from 20 to 17.

It won it (VICTORY, GOLD + 11, XP + 6), so the slimes now drop the gold the fourth message asked for. To reach the boss quickly, it then moved the knight straight to the lighthouse door with the quest accepted and fought the slime king, which gave GOLD + 50 and XP + 40 and a level-up, then went on to the ending screen.

The end of the slime king battle: the knight and the gold slime king on the grass, and the text VICTORY! GOLD + 50, XP +40.
The slime king beaten. The agent reached this fight by moving the knight to the lighthouse door.

It then tested Defend and Potion with none left ("NO POTIONS LEFT"), and the turn stopped at the per-message gem limit while it was testing Run. In our own short play afterwards, Run answered "CANNOT ESCAPE!" each time we chose it, so Run is the first thing we would ask the agent to look at next.

7. 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 .gbc ROM to download the cartridge. Exporting costs $25 per game, or comes with a plan, and you can re-export that game any time. The ROM guide covers emulators and flash carts.

What we learned from the test

What to put in an RPG prompt

What the Game Boy Color can hold, for an RPG

Every build reports how full each budget is.

Ideas to ask for next

For a monster-catching RPG instead, see our GBA monster RPG test.

FAQ

Can AI make a Game Boy Color RPG?

Yes. Pick the GBC engine in Shiny Gen and describe the RPG; the agent writes it, draws it, compiles a real Game Boy Color cartridge, plays it and fixes bugs. This one took five messages, about fifteen minutes of agent time and 195 gems.

Can AI make an RPG like Pokemon or Dragon Quest?

Yes, a game in the same genre: a town, a quest, turn-based battles, experience and a boss, like the one on this page, or monster catching like our GBA test. Make it your own: your own hero, monsters, names and art, especially if you share or sell your game.

Is it a real .gbc ROM?

Yes. It is a Game Boy Color cartridge image compiled to the machine's own code. We have played Game Boy Color ROMs made this way on a Game Boy Advance and a ModRetro Chromatic through a flash cart, and any GBC emulator opens it.

Why did the agent stop in the middle?

Each message has a limit on the gems it can spend, which you can change, and each turn has a budget of steps. A whole RPG is more than one turn, so the agent says what is left and "continue" carries on.

Do I need to know how to code?

No. You describe the game and the agent writes and tests the code. You can read and edit it in the Code view, and editing it by hand costs nothing.

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 costs $25 per game, or comes with a plan. See the pricing page.

Shiny Gen is not affiliated with or endorsed by Nintendo, The Pokemon Company, Square Enix or ModRetro. Game Boy, Game Boy Color, Game Boy Advance and Pokemon are trademarks of Nintendo and The Pokemon Company; Dragon Quest is a trademark of Square Enix; ModRetro and Chromatic are trademarks of ModRetro. They are named here only to describe.

Last updated: November 24, 2026

Start makingDownload on the App StoreGet it on Google Play