Skip to content
/ PyTMX Public
forked from bitcraft/pytmx

Python library to read Tiled Map Editor's TMX maps.

Notifications You must be signed in to change notification settings

frnknstn/PyTMX

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map loader for TMX Files
bitcraft (leif dot theden at gmail.com)
v.14 - for python 2.7

If you have any problems or suggestions, please contact me via email.
Tested with Tiled 0.8.0 for Mac.

released under the LGPL v3


===============================================================================

This map loader can be used to load maps created in the Tiled map editor.  It
provides a simple way to get tiles and associated metadata so that you can draw
a map onto the screen.

This is *not* a rendering engine.  It will load the data that is necessary to
render a map onto the screen.  All tiles will be loaded into in memory and
available to blit onto the screen.


Design Goals:
    Simple api for accessing tile metadata and images
    Memory efficient and fast

Features:
    Loads data and "properties" metadata from Tile's TMX format
    "Properties" for: maps, tilesets, layers, objectgroups, objects, and tiles
    Automatic flipping and rotation of tile images
    Supports base64, csv, gzip, zlib and uncompressed TMX
    Image loading with pygame

Missing:
    Polyline (new in Tiled 0.8.0)
    Polygon (new in Tiled 0.8.0)


===============================================================================

The 16x16 overworld tiles were created by MrBeast at opengameart.org. CC-BY 3.0


===============================================================================

Please see the module's docstring for version information and sample usage.

About

Python library to read Tiled Map Editor's TMX maps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%