Skip to content

Game Boy Color

Zal0 edited this page Sep 13, 2021 · 7 revisions

In order to create a rom for the Game Boy Color you just need to change the target of your project to ReleaseColor or DebugColor and build it (or run build_Color.bat or build_DebugColor.bat). This new build will take advantage of the better processor that the Game Boy Color has and will run twice faster. By default it will load a black and white palette, so let's see how to add some color.

Adding color to tiles

  • Open the file tiles.b3.gbr with the Gameboy Tile Designer and select View->Color Set->Gameboy Color. Everything will look the same but if you click on the palettes list you'll see there are now 8 palettes to choose from.

enter image description here

  • Select the fist tile and click on the first palette. Now go to View->Palettes (or click control+A) and edit the first palette to add some colors
  • Save the file (do not export!!)

Build the project and you should see your background in color

enter image description here

Adding color to sprites

The process for sprites is very similar to what we did for the tiles

  • Add some color to player.bgr the same way we did with the tiles
    • Select View->Color Set->Gameboy Color to set it as a Gameboy Color file
    • Edit the first palette
    • Assign it to all the sprites
    • Save your file

enter image description here

Build the project and your main character will appear in glorious 4 colors

enter image description here

Note: It seems that by default BGB doesn't show colors properly, so ensure you have GBC LCD colors disabled inside Options->Graphics

enter image description here

Adding a different palette to enemies

For the enemies you can use the same palette that was used on the player sprite and in that case that palette will be automatically shared between them, or you can create a new palette

enter image description here

Just remembet that the maximum number of palettes supported by Game Boy Color is 8, so you should never have more than 8 different palettes loaded at the same time

enter image description here

Note: this new build created for the Game Boy Color will also work on the classic Game Boy (but it will run a bit slower than if you create it for the Game Boy specifically)

Clone this wiki locally