Read in tile data from tilemap

This commit is contained in:
2025-06-20 00:24:34 -05:00
parent 1022f45565
commit 2a8183e9a3
9 changed files with 98 additions and 64 deletions

View File

@ -174,9 +174,6 @@ for chunk in firstLayer['chunks']:
inputMapHighestX += inputLayerWidthInTiles
inputMapHighestY += inputLayerHeightInTiles
print(f"Input map lowest X: {inputMapLowestX}, highest X: {inputMapHighestX}")
print(f"Input map lowest Y: {inputMapLowestY}, highest Y: {inputMapHighestY}")
# We now offset all chunks by the lowest X/Y values to make them start at (0, 0).
for layerIndex, layer in enumerate(tileLayers):
for chunkIndex, chunk in enumerate(layer['chunks']):