Tilemap Editor - Usage Guide
Level: ⭐ Beginner | ⭐⭐ Intermediate
Quick Index
Layers
⭐ Layers: Basic Concept
Layers organize map elements at different depth levels:
- Top layer: Rendered above others
- Bottom layer: Rendered below others
- Maximum: 8 layers per scene
⭐⭐ Managing Layers
Add layer:
- Click + in LAYERS panel
- New layer inserted above selected
Delete layer:
- Click 🗑️ icon on layer
- Confirm deletion
- Cannot delete last layer
Duplicate layer:
- Click 📄 icon on layer
- Copy created with "(Copy)"
Reorder:
- Drag and drop in LAYERS panel
- Or use ordering commands
Rename:
- Click the ✏️ rename button on the layer row
- Type new name
- Press Enter
Visibility:
- Click 👁️ to show/hide
- Hidden layers not exported
Projects
⭐ Creating a New Project
- Create New Project on Welcome Screen
- Configure:
| Field | Description | Default |
|---|---|---|
| Name | Project name | "New Scene" |
| Description | Optional | - |
| Tile Size | Pixels | 8 |
| Map Width | Tiles | 40 |
| Map Height | Tiles | 30 |
| Orientation | Landscape/Portrait | Landscape |
- Click Create Project
- Select empty folder
Project names are sanitized to lowercase alphanumeric +
_. Dots..and.are rejected. See Tile Flag Rules for per-project rule files.
💡 Tip: Use "Fit Map to Hardware Limit" to auto-fit to ESP32 (320×240).
⭐ Project Settings
- Click Settings (gear icon)
- Or File → Project Settings
- Modify values
- Click OK
⚠️ Important: Changing tile size affects all existing tilesets.
⭐ Save & Load
| Extension | Content |
|---|---|
.pr32scene.bin | Binary v6 format (default) |
.pr32scene | Legacy extension; still binary v6 content |
File → Preferences opens a modal dialog. The "Use Binary Format" checkbox inside only changes the saved extension (.pr32scene.bin vs .pr32scene). The on-disk content is always the binary v6 container — there is no JSON project format.
⭐ Toolbar Indicators
The top toolbar shows status indicators while a project is open:
| Indicator | Meaning | Interactive |
|---|---|---|
HIST:n | Number of undo entries in history (max 100) | ❌ |
BIN / JSON | Current save format preference | ✅ Click to toggle |
Export | Shortcut to export dialog | ✅ Click to open |
The undo history is limited to 100 operations per session. Enabling History Compression in Preferences merges consecutive similar edits to stay within the cap longer.
Tilesets
⭐ Importing a Tileset
- In the TILESET panel, click Import tileset
- Select PNG/JPG/BMP
- Auto-copied to
assets/tilesets/
📝 Format: PNG recommended, multiples of tile size, up to 16 colors.
⭐ Selecting Tiles
Single selection:
- Click tile (cyan border highlight)
Rectangular selection:
- Click start tile
- Drag to end tile
- Release to confirm
⭐⭐ Zoom in Tileset Panel
- Zoom In: Mouse wheel up
- Zoom Out: Mouse wheel down
- Increments: 0.25× (min 1×, max 4×)
⭐ Multiple Tilesets
- Import first tileset normally
- Repeat for additional tilesets
- Displayed one after another
- Global tile index (accumulated)
Tileset A: 10 tiles (indices 0-9)
Tileset B: 8 tiles (indices 10-17)Scenes
⭐⭐ Scenes: Concept
Scenes are independent levels/rooms in a project:
- Own dimensions
- Own layers
- Access to shared project tilesets
⭐ Creating a New Scene
- Click + in SCENE panel
- Created with same dimensions as active
- "Background" layer auto-added
⭐ Switching Between Scenes
- Click scene name in SCENE panel
- Canvas updates automatically
- Layers panel shows scene's layers
⭐⭐ Managing Scenes
Rename:
- Click the ✏️ rename button on the scene row
- Type new name
- Press Enter
Duplicate:
- Click the 📄 duplicate button on the scene row
- Exact copy with "(Copy)"
Delete:
- Click 🗑️ delete button on the scene row
- Confirm
⚠️ Cannot delete last scene
Editing Tools
⭐ Brush (B)
- Select Brush (B)
- Pick tile from TILESET
- Click/drag on canvas
Rectangular patterns:
- Select rectangle in tileset
- Paint - full pattern applied
⭐ Rectangle (R)
- Select Rectangle (R)
- Click and drag on canvas
- Release to fill
⭐ Eraser (E)
Method 1:
- Select Eraser (E)
- Click/drag to erase
Method 2 (universal):
- Right-click with any tool
⭐⭐ Pipette (I)
- Select Pipette (I)
- Click tile on canvas to pick it as the active tile
- The picked tile is auto-selected in the TILESET panel
- To assign a tile to an animation: pick the tile with Pipette, open the Animations panel, select a target animation, and click Apply
💡 See: Advanced Guide for animations and attributes
⭐⭐ Attribute Tool (A)
⭐⭐ Live Preview
- Click the ▶ Live Preview button in the toolbar
- Animations play in real-time on the canvas
- Uses the Play/Pause button, speed controls (1× / 2× / 0.5×), and frame-stepping from the toolbar
⭐⭐ Pan
Persistent Pan (G):
- Press G to switch to Pan tool permanently
- Use another tool key (B, E, R, I, A) to switch back
Temporary Pan (Space):
- Hold Space to temporarily pan
- Release to return to your previous tool
⭐ Zoom Controls
| Action | Method |
|---|---|
| Zoom In | Ctrl++ or Ctrl+wheel up |
| Zoom Out | Ctrl+- or Ctrl+wheel down |
| Reset Zoom | Ctrl+0 |
| Fit to Screen | Ctrl+F |
⭐ Tool Preview
Mouse over canvas:
- Dotted rectangle shows paint position
- Preview tiles 50% opacity
- Precise positioning before clicking
Onion Skinning
⭐⭐ Concept
Onion skinning shows translucent scenes over active scene:
- Align exits between levels
- Check platform consistency
- Compare designs between scenes
⭐ Activating
Per scene:
- Check the 🧅 checkbox next to the scene
- Scene appears translucent
Global:
- Activate "Show Onion Skin" checkbox
- Shows/hides all onion-enabled scenes
⭐ Adjusting Opacity
- Use "Opacity" slider (0.0-1.0)
- Recommended: 0.3-0.5 (30-50%)
⭐⭐ Example: Aligning Exit
- Enable onion on previous level scene
- Adjust opacity to see both
- Place exit aligned with entrance
- Disable when done
⚠️ Onion scenes are visual-only (not editable).
Export
⭐⭐ Export to C++
- Click the Export button in the toolbar, or File → Export
- Configure options:
| Option | Description |
|---|---|
| C++ Namespace | Namespace for generated code |
| Color Depth | Auto-detected BPP (1/2/4) |
| Store in Flash (ESP32) | Save tile data to PROGMEM |
| Legacy Format | Without Flash attributes (compatibility) |
- Select output directory
- Generated files:
scene_name.h,scene_name.cpp, optionalscene_name_animations.h/.cpp, andshared_palette.h
🔒 License required: Exporting to C++ requires a valid license. See License & Activation.
Preferences
⭐ Access
File → Preferences
Grid Settings:
- Grid Background Color: Color of the canvas background behind the grid
- Canvas Grid Intensity: Grid opacity on the canvas (0-255, default 40)
- Tileset Grid Intensity: Grid opacity in the tileset panel (0-255, default 120)
- Attribute Indicator Opacity: Marker opacity for tile attributes (0-255, default 200)
- Animation Indicator Opacity: Marker opacity for animated tiles (0-255, default 180)
Auto-save:
- Enabled: On/off (enabled by default)
- Interval: Minutes (1-30, default 5 min)
Optimization:
- History Compression: Compresses consecutive undo operations
- Use Binary Format: Sets the saved file extension
Keyboard Shortcuts
Tools
| Key | Action |
|---|---|
| B | Brush |
| E | Eraser |
| R | Rectangle |
| G | Pan (persistent) |
| I | Pipette |
| A | Attribute |
| Space | Pan (temporary hold) |
Navigation
| Shortcut | Action |
|---|---|
| Ctrl+Wheel | Zoom |
| Ctrl++ | Zoom in |
| Ctrl+- | Zoom out |
| Ctrl+0 | Reset zoom |
| Ctrl+F | Fit to screen |
File
| Shortcut | Action |
|---|---|
| Ctrl+N | New project |
| Ctrl+O | Open project |
| Ctrl+S | Save |
| Ctrl+Shift+S | Save As |
| Ctrl+W | Close project |
Editing
| Shortcut | Action |
|---|---|
| Ctrl+Z | Undo |
| Ctrl+Y / Ctrl+Shift+Z | Redo |
| F1 | Keyboard shortcuts panel |
Mouse
| Action | Result |
|---|---|
| Left click | Paint/Select |
| Right click | Erase |
| Wheel | Zoom in tileset |
| Ctrl+Wheel | Zoom in canvas |
Glossary
| Term | Definition |
|---|---|
| Tile | Basic graphic unit (8×8, 16×16, etc.) |
| Tileset | Image containing multiple tiles |
| Layer | Depth level in map |
| Scene | Independent level/room |
| Canvas | Drawing area |
| ESP32 | Target hardware |
| BPP | Bits per pixel (1/2/4) |
| RGB565 | Color format (5R+6G+5B) |
Related Guides
- Quick Start - 5 minute guide
- Advanced Guide - Advanced features
- Technical Reference - Technical specs
