Skip to content

Python Library for parsing Tiled Map Editor maps.

License

Notifications You must be signed in to change notification settings

katefike/pytiled_parser

 
 

Repository files navigation

PyTiled Parser

PyTiled Parser is a Python Library for parsing JSON formatted Tiled Map Editor maps and tilesets to be used as maps and levels for 2D top-down (orthogonal, hexogonal, or isometric) or side-scrolling games in a strictly typed fashion.

PyTiled Parser is not tied to any particular graphics library, and can be used with Arcade, Pyglet, Pygame, etc.

The Arcade library has supporting code to integrate PyTiled with that 2D libary, and example code showing its use.

Original module by Beefy-Swain. Significant contributions from pvcraven and Cleptomania.

Development

To develop pytiled parser, clone the repo, create a venv using a supported Python version, and activate it. Then install the package as well as all testing dependencies with the command python -m pip install -e ".[tests]".

Testing

Run pytest --cov=pytiled_parser to run the test harness and report coverage.

About

Python Library for parsing Tiled Map Editor maps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%