tilemap-parserv5.2.0GITHUB
PRESS START

tilemap-parser

standalone map parser + pygame collision runtime for game developers

Python >= 3.10 · pygame-ce · version v5.2.0

WHAT YOU GET

Everything hangs off one spine: load data, build a world, resolve movement through the runner. The rooms below are the whole engine.

engine mapDIAGRAM
MAP PARSING

Load and query tilemaps, layers, objects and autotiles from tilemap-editor JSON.

TILE COLLISION

Slide, platformer and RPG movement modes resolved against tile polygons.

PHYSICS BODIES

A PhysicsWorld: tiles + solid Body objects, kinematic crates you push around.

OBJECT COLLISION

Sprite-vs-sprite lane: spatial-grid, mixed shapes, layer filtering.

CHUNKED RENDERING

TileLayerRenderer culls to the viewport, chunk-by-chunk.

CAMERA + FX

Centered/deadzone follow, lerp, screen-shake, bounds clamp.

ANIMATION

Frame-based AnimationPlayer over tilemap-editor animation JSON.

PARTICLES

ParticleSystem with shapes, color transitions, alpha fade, batch rendering.

PATHFINDING

NavGrid, Pathfinder and PathFollower for RPG-style AI.

CAPSULES + HITS

Capsule collision against every shape, and CollisionHit.resolve() helpers.

WHERE TO START

  • Installation: two pip commands and you're running.
  • Quick Start: the smallest playable program.
  • Physics & Bodies: collision, explained without the fog of war. Includes the sliding-box walkthrough.
  • The Pipeline: map → world → runner → player → crate → screen, one script.
  • Examples: nine working demos, from pushable crates to RPG pathfinding.

Author maps and collision with the companion editor: tilemap-editor.