Learn › GBC Beginner

Lesson 1 of 6 · About 5 min

What a GBC game is

A small screen, a few buttons and one fox: make it your own game.

Fox Run: the fox jumps to the flag at the end of the meadow.

A small screen, a few buttons, tiles, sprites and palettes. And your first change to a real GBC game.

A small screen and a few buttons

The Game Boy Color has a screen of 160 by 144 pixels, a D-pad, two buttons named A and B, and Start and Select. Everything a GBC game shows fits on that screen, and everything the player does comes from those buttons.

Fox Run, the game you will work on in this course, uses only the D-pad, A to jump, and Start. On a phone, the buttons on the screen press the same keys.

Tiles, sprites and palettes

The picture is built from tiles of 8 by 8 pixels. The background is a grid of tiles. The things that move, like the hero and the foes, are sprites drawn on top of it.

Each tile uses the 4 colours of one palette. The machine holds 8 palettes for the background and 8 for sprites. The first colour of a sprite palette is see-through, so a sprite has 3 colours of its own.

At most 40 sprites can be on screen, and at most 10 on one row of pixels. These limits shape every GBC game, and this course shows how Fox Run works within them.

A real cartridge

In Shiny Gen a GBC game is a program written in C. The app builds it into a real .gbc file, the same kind of file a cartridge holds, and runs it next to the chat. Every change rebuilds the game in a few seconds.

In the session you will change the first thing a player reads: the title.

Fox Run, a GBC platformer, running in the editor with the agent chat beside it.
Change the title

Try it yourself

In the app this lesson opens a real game for you, with a guide that walks you through these steps:

  1. The game is running beside the chat. It is a real GBC program, built again every time it changes.
  2. Rename the game to EMBER FOX.
  3. The title screen now reads EMBER FOX. The next .gbc file built from this game carries the new name.
Start makingDownload on the App StoreGet it on Google Play