Skip to main content

Pygame tilemap editor with SVG icons, professional UI, and sprite animation tools

Project description

tilemap-editor

tilemap-editor is a pygame-based map editor focused on fast iteration for 2D games.

What it includes

  • Multi-layer tile/object map editing with visual layer management
  • Professional UI with SVG icons, consistent fonts, and modern design
  • Sprite animation editor (tilemap-anim-editor) with frame-by-frame editing
  • Built-in tools: File manager, error console, image viewer, automapper
  • Font management with auto-selected coding fonts for clarity
  • Icon system with 26+ SVG icons and geometric fallbacks
  • JSON save/load compatible with this editor

Key Features

UI Improvements

  • Crisp SVG icons throughout the interface
  • Bold, auto-selected coding fonts (JetBrains Mono, Fira Code, Consolas)
  • Professional color scheme and consistent styling
  • Dynamic icon loading - icons auto-load by button name

Animation Editor

  • Frame picker with visual thumbnails
  • Playback controls (play, pause, stop, loop)
  • FPS control and onion skinning
  • Timeline with marker support
  • Export to JSON format

Map Editor

  • Pan, zoom, reset, and fit-to-view controls
  • Grid toggle with visual feedback
  • Layer management with visibility controls
  • Tileset browser with preview
  • Autotile support for rapid level design

Install (local/dev)

pip install -e .

Run editor

# Main tilemap editor
tilemap-editor

# Standalone animation editor
tilemap-anim-editor path/to/spritesheet.png --tile-size 32x32

In-game debug usage

from editor import Editor

if __name__ == "__main__":
    dbg = Editor()
    dbg.run()

Runtime split

This package is editor-first. Runtime parser/loading modules can be moved into a separate package later.

Icons & Assets

The editor includes 26+ SVG icons from the Godot icon set:

  • File operations: folder, file, image, save, load, duplicate
  • Playback: play, pause, stop, loop
  • UI controls: close, plus, warning, info, check, error
  • Map tools: pan, zoom in/out, reset, fit, grid
  • All icons have geometric fallbacks if SVG loading fails

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tilemap_editor-2.0.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tilemap_editor-2.0.0-py3-none-any.whl (165.7 kB view details)

Uploaded Python 3

File details

Details for the file tilemap_editor-2.0.0.tar.gz.

File metadata

  • Download URL: tilemap_editor-2.0.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tilemap_editor-2.0.0.tar.gz
Algorithm Hash digest
SHA256 6e050ca63e7b42e0e3d70b3b4cc8022e1595309d47a5ebe619770b83b3e91fb8
MD5 9c4b2ca953884f4f6b9af37002a093ca
BLAKE2b-256 b1fa662983806bd6d5cb9ba0b1f985bbd2a0c71c382a323c0ab79f4adae940e4

See more details on using hashes here.

File details

Details for the file tilemap_editor-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: tilemap_editor-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 165.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tilemap_editor-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cddd084c383e991bee6b01865b5100c33ff34150183fbbd60dd3d6dceb5e6f97
MD5 781d2b10299907af037b0c96738e086e
BLAKE2b-256 c9e62dc74676db40cca65ce9ca5d67b4fb84962ba2753ebdb4e137861392a182

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page