Repository navigation
Tile Editor
The Tile Editor lets you view and modify all 160 game tiles (16x16 pixels each).
From the main window, select Editors → Edit Tiles
The Tile Editor displays:
- Top Bar - Palette selector and close button
- Main Grid - All 160 tiles in a 20x8 grid
- Status Bar - Instructions and feedback
Use the Palette dropdown to preview tiles with different color schemes:
- Map 1 - Default palette
- Map 2 - Alternative colors
- Map 3 - Different tones
- Map 4 - Unique scheme
- High Score - High score screen colors
- Title Screen - Title/attract mode colors
- Player Start - Start screen colors
Note: Changing palettes only affects the preview. Tile pixel data is palette-independent.
Tiles are organized by ROM file (32 tiles per ROM):
- Tiles 0x00-0x1F - c1.1i (walls, spawners, keyholes)
- Tiles 0x20-0x3F - c2.2i (player, boxes, enemies)
- Tiles 0x40-0x5F - c3.3i (enemies, keys, effects)
- Tiles 0x60-0x7F - c4.4i (crowns, teleports, doors)
- Tiles 0x80-0x9F - c5.5i (treasures, large enemies)
Each tile shows:
- Hex ID (e.g., 0x26) - Tile identifier
- 3x Preview - Tile graphic at 3x zoom
- Clickable - Click to edit
Click any tile to open the pixel editor.
The pixel editor shows:
- Left - Editing canvas with grid
- Right - Color palette (15 colors + background)
- Top - Tile name and info
- Left Click - Draw with selected color
- Left Drag - Paint continuously
- Right Click - Erase to background (color 0)
- Right Drag - Erase continuously
- Click any color swatch (0-14) to select it
- Selected color shows in the "Selected Color" box
- Draw on canvas to use that color
Note: Color 15 (black) is always background and cannot be selected.
Change palettes while editing to preview your tile with different colors. This helps ensure your tile looks good on all maps.
Changes appear instantly:
- Canvas updates as you draw
- Grid overlay helps with pixel precision
- Zoom level is fixed at 20x for comfortable editing
Tiles auto-save as you edit. Changes are immediately written to ROM cache.
Important: Still need to use File → Save ROMs to write to disk!
Tile 0x26 is the standard empty path. Most custom tiles should contrast with this.
Decorative wall tiles (0x00-0x0E, etc.) block player movement. Use varying patterns for visual interest.
Item boxes come in pairs:
- Empty - 0x21 (ring), 0x22 (key), 0x4A (crown)
- Filled - 0x6F (ring), 0x70 (key), 0x62 (crown)
Enemies use multiple tiles for animation:
- Cobra - 0x36-0x39, 0x46-0x49
- Vulture - 0x3E-0x45
- Bat - 0x32-0x