pytmx icon indicating copy to clipboard operation
pytmx copied to clipboard

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

Results 22 pytmx issues
Sort by recently updated
recently updated
newest added

It seems that support for custom types in Tiled Project files is broken. The code is all there for it to work but it doesn't pass the right arguments around....

PR reduces the number of typehints 289>149 While fixing, by following a chain of typehints, I arrived to the source here: ``` class TiledMap(TiledElement): def __init__( self, filename: Optional[str] =...

The new alphaonly parameter circumvents the smart part of the smart_convert() method when pygame misbehaves with non-transparent tiles. This should be a non-breaking change. Here is the problem I have:...

I created my map in Tiled, and I have multiple layers - a ground layer, an invisible layer for boundaries, and another Tile layer with the items that are in...

https://github.com/bitcraft/pytmx/issues/142#issuecomment-816757339

It looks like pytmx can't load [templates](https://doc.mapeditor.org/en/stable/manual/using-templates/#). When an object with a template is loaded, I see a `TiledObject.template` attribute which corresponds to the path of the template's `.tx` file...

When displaying tiles in OpenGL formatted coordinate systems (y=0 occurs at bottom of page instead of top of page), there is a simple transformation needed to ensure data appearing at...

When I try to use a .tmx with all layers stored in layer groups, I get this error ``` Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pytmx/pytmx.py", line 682, in get_layer_by_name...

enhancement

Tiled has a somewhat advanced redering engine that is capable of rendering maps that mix tile sizes. While pytmx is not a rendering project, I mistakenly took liberty to translating...