Game Boy sprite editor
Draw 8×8 and 8×16 sprites and tiles, or open the ones already in your project, and export C that GBDK can compile.
Actual size
Repeated
1 tile
You can also drag a file here, or paste C code or an image.
Everything happens in your browser. Your files are never uploaded, and your current drawing is kept in this browser for next time.
How it works
Open a C file, or paste code anywhere on the page, and the editor finds the byte arrays in it. Edit the tiles and copy the array back. PNGs and raw 2bpp files open the same way.
An 8×16 sprite is two tiles stored one after the other, top then bottom. Changing the size only changes how the bytes are drawn; it never reorders them, so if an imported sprite looks scrambled, try the other size. Choose the size before you open a PNG, because that decides the order its tiles are cut in.
On the keyboard, arrow keys move around the grid, Space paints, and 0 to 3 pick a colour. Ctrl or Cmd with Z undoes.
Using the output
Add both files to your project. In 8×16 mode:
#include "sprites.h"
SPRITES_8x16;
set_sprite_data(0, sprites_TILE_COUNT,
sprites_tiles);
set_sprite_tile(0, 0);
move_sprite(0, 80, 72);
SHOW_SPRITES;The layout matches png2asset's tiles-only output. The count is always in 8×8 tiles, and tiles are never merged or reordered, so your tile numbers stay put. 8×16 sprite number n starts at tile n × 2.
Limits
- Up to 384 tiles, all an original Game Boy can hold. Sprites can use 256 of them.
- C arrays must be plain numbers. Macros and expressions are reported, not guessed. Super Game Boy border tiles use four bits per pixel and will look like noise.
- Saving writes whole new files. To keep the rest of a source file, use Copy array only.
- It does not write metasprites or Game Boy Color palettes. To make a background map from a picture, use the tile converter.
More tools
Game Boy Camera converter
Turn a photo or your webcam into a 128×112, four-shade Game Boy Camera picture, using the camera's real dither tables.
Game Boy Printer strip maker
Print your photos the 1998 way: a strip of Game Boy Camera shots on thermal paper, torn edges and all.
Game Boy Camera save viewer
Open a save file from a real Game Boy Camera and pull out every photo as a PNG, including deleted ones still on the cartridge.
Game Boy tile converter
Turn a PNG into Game Boy tile data and a tile map for GBDK or RGBDS, or turn raw tile data back into a picture.
Super Game Boy border builder
Check 256×224 border art against the Super Game Boy's tile and palette limits, preview it, and export it as C for GBDK.
Game Boy text generator
Type a title and save it as a PNG in a pixel font on a Game Boy palette, in a 160×144 frame or a thumbnail shape.
Game Boy sound toy
Play the Game Boy's four sound channels, then copy the register values and a GBDK C snippet for the sound you made.
Game Boy ROM header inspector
Drop a .gb or .gbc file to read its title, CGB and SGB flags, mapper, ROM and save RAM size, and whether its checksums are valid.