Showing results for

tilemap

layers

on doc.mapeditor.org
doc.mapeditor.org › en › stable › manual
Python Scripts — Tiled 1.11.0 documentation
...return "example"
@classmethod
def write(cls, tileMap, fileName):
with open(fileName, 'w') as fileHandle:
for i in range(tileMap.layerCount()):