Skip to Content
The Alchemy Project

Graphics Assets

This page is a guide to the games/tbs/src/graphics/ folder of the Alchemy project, where every sprite, monster, tileset, battle backdrop, and UI graphic in Golden Sun: The Broken Seal lives as an indexed PNG.

Alongside those 2,103 images sit plain-text .tsv metadata tables describing animation frames, sprite sizes, and palettes. At build time, tools/ags-graphics compiles everything into native GBA tile and palette formats. Everything seen on screen, from Isaac's walking frames to the Fusion Dragon boss sprite, begins as a file in this tree.

The sections below show how the game packs character strips, palette-swaps monsters, and reuses tilesets across 182 maps, followed by a complete folder breakdown. GBA indexed colour, bit depths, and sprite animation concepts are explained in Graphics & Sound.

Monsters, sprite sheets, and tileset sharing

A battle opens on one Skeleton: watch its sprite switch between front and back poses as the camera swings around
A battle opens on one Skeleton: watch its sprite switch between front and back poses as the camera swings…
  • Sprites (sprite/): Vertical 5-direction character strips (e.g., isaac.png with 210 × 32×32 poses plus isaac.tsv animation rows) registered in the 512-row master table sprite/sprites.tsv.
  • Monsters (monster/): 54 8bpp strips (39–151 colours per strip, typically 12 × 64×64 front and back pairs rendered at 3/4 scale by default via sprites.tsv) are palette-swapped across all 165 enemies. Giant bosses such as Fusion Dragon pair two 64×64 sprites 64 px apart.
  • Tilesets and battle backdrops: 69 map tileset folders plus 55 standalone recolour palettes in tileset/palette/ serve all 182 maps. battle_backgrounds/ holds 34 raw 256×120 128-colour bitmaps.

Directory layout (2,103 PNGs)

FolderContents
sprite/5-direction character strips (isaac.png + isaac.tsv) and the 512-row master sprites.tsv
monster/54 8bpp battle strips (front and back pairs, plus two-part sprites for giant bosses) across 165 enemies
tileset/69 map tileset folders (4bpp sheets + 14×16-colour palettes) plus 55 standalone palettes in palette/
battle_backgrounds/34 raw 256×120 128-colour bitmaps (half-palette so credits crossfade two backdrops at once)
battle_effects/, field_effects/Variable-sized per-frame battle effect graphics and field Psynergy sparks
font/, credits/Per-language 16×16 1bpp font sheets, glyph width tables (text*.tsv), charmap_ja.tsv, and credits font
ui/, palettes/, palette_editor/Window borders, menu icons, cursors, shared palettes, and debug palette editor swatch
title/, world_map/Title intro and logo art (localised where needed) and World Map graphics
colosso/, lamakan_desert/, sol_sanctum_statue/, lucky_dice/, lucky_wheels/Place- and minigame-specific graphics

Static assets link directly into their owning module. Runtime-selected assets register in the 1,000-row resource directory (System library).

Source files

src/graphics/

FileDescription
battle_effects/paths.cThe flight paths of two battle effects: Atalanta's as her shafts of light gather, and that of the flame Dragon Cloud sends from its user.
sprite/self_pointers_after_first_block.cAn unused array of the sprite module that points only at itself.
sprite/self_pointers_after_second_block.cTwo unused arrays of the sprite module that each point only at themselves.

include/graphics/

FileDescription
display_transition.hThe state of a scene change's screen transition: the window edges a window transition draws line by line, the tile a dissolve fills dot by dot, and the two lines between which the centre-line transition blanks the screen.
glyph.hThe text font's characters, and the buffers and shared palette through which the icons beside text (commands, items, Psynergy, status) are drawn.
graphics.hWhat the graphics module holds for the rest of the game: fonts, icons, cursors, the name entry keyboards, the transitions' tables and the ARM functions that decode and draw pictures.
palette_buffers.hPalette fades: the colours a fade moves from and to, and the tints (grey, sepia, dusk and the rest) a scene or the title intro builds a target from.
palette_cycles.hPalette cycles: runs of background colours rotated one place every few ticks.
render_placement.hA sprite's screen position and scale.