|
pygame is
pygame.org is
|
Tiled TMX Loader
Tiled TMX Loader - v.11Leif Theden (bitcraft)Tags:DescriptionMap loader for TMX Files
bitcraft (leif dot theden at gmail.com)
v.15 - 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
Memory efficient and fast
Features:
Loads data and "properties" metadata from Tile's TMX format
"Properties" for: maps, tilesets, layers, objectgroups, objects, and tiles
Point data for polygon and polyline objects
Automatic flipping and rotation of tiles
Supports base64, csv, gzip, zlib and uncompressed XML
Image loading with pygame
===============================================================================
Please see tmxloader.py's docstring for version information and sample usage.
Check tests/test.py and tests/demo.py for examples on how to use the library.
===============================================================================
The 16x16 overworld tiles were created by MrBeast at opengameart.org. CC-BY 3.0
LinksScreenshot click to view original size
Releases
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
| spotlight |
|
|
|
| our projects |
|
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
|
|
|
| recent releases |
|
May 24, 2013
May 23, 2013
May 22, 2013
May 21, 2013
May 19, 2013
May 18, 2013
May 17, 2013
May 16, 2013
May 15, 2013
... more!
|
|