# Python3 Pyglet Pytmx

**URL:** <https://discourse.mapeditor.org/t/python3-pyglet-pytmx/4090>\
**Category:** Questions\
**Created:** [September 14, 2019, 7:44pm UTC](https://discourse.mapeditor.org/t/python3-pyglet-pytmx/4090 "2019-09-14T19:44:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![buffalo974](https://avatars.discourse-cdn.com/v4/letter/b/d2c977/32.png) [@buffalo974](https://discourse.mapeditor.org/u/buffalo974)\
**Post date:** [September 14, 2019, 7:44pm UTC](https://discourse.mapeditor.org/t/python3-pyglet-pytmx/4090/1 "2019-09-14T19:44:58Z")

</div>

Hi !  
i get this error message  
**tile flags are not implemented**  
when i launch : **test\_pyglet.py** , in folder **apps**  
here [https://github.com/bitcraft/PyTMX](https://github.com/bitcraft/PyTMX)  
( project github with 222 stars).

please help to understand where i’am wrong !

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [October 1, 2019, 10:34am UTC](https://discourse.mapeditor.org/t/python3-pyglet-pytmx/4090/2 "2019-10-01T10:34:24Z")

</div>

The message “tile flags are not implemented” basically indicates a missing feature in PyTMX. You can try reporting this issue [on their issues page](https://github.com/bitcraft/PyTMX/issues) to see if you can get any help with getting this functionality to work, if indeed you need to use tile flags.

Tile flags are used to support flipping and rotating the tile image. If you don’t actually need to rely on these features for your map, then you may have flipped or rotated a tile by accident (it’s done with the X, Y and Z keys). Currently there is no tool that helps with removing the flags from affected tiles, though using the new scripting functionality in the Tiled development snapshots this would not be hard to implemented.

---

<div class="post-metadata">

**Author:** ![buffalo974](https://avatars.discourse-cdn.com/v4/letter/b/d2c977/32.png) [@buffalo974](https://discourse.mapeditor.org/u/buffalo974)\
**Post date:** [October 1, 2019, 11:12am UTC](https://discourse.mapeditor.org/t/python3-pyglet-pytmx/4090/3 "2019-10-01T11:12:48Z")

</div>

thanks !

Le mar. 1 oct. 2019 à 12:44, Thorbjørn Lindeijer via Tiled Forum [mapeditor@discoursemail.com](mailto:mapeditor@discoursemail.com) a écrit :
