GitHub Repository Archived
This repository has been archived on and is now read-only.
Description
The Tilemap Level Editor is a tool for creating 2D levels and exporting them as JSON files. It is designed to allow levels to be loaded dynamically into Godot at runtime.
Controls
- Left click: Place tile
- Right click: Remove tile
- Tab: Toggle GUI
- Shift + Scroll: Change brush size
- Middle Mouse or WASD or Arrow keys: Move camera
- Scroll: Zoom in/out
UI and Layers
Create new layers with the + New Layer button and select an image file for the tileset. Switch between layers and adjust their order using the arrow controls.

JSON Export Format
The exported JSON file contains layer data and object positions:
{
"layers": [
{
"texture_path": "C:/tilemap-level-editor/test/tileset.png",
"cells": [[4, -5, -3]]
}
],
"objects": [
{
"key": "player",
"position": [2, 4]
}
]
}
Limitations
- Grid Size: Supports only 16x16 tiles. Spritesheets must be divisible by 16 (16, 32, 48, etc.).
- Paths: Texture paths are stored as absolute paths.
Video
External content from YouTube