Read in tile data from tilemap

This commit is contained in:
YourWishes committed 2025-06-20 00:24:34 -05:00
1 parent 1022f45565
commit 2a8183e9a3
9 files changed
+98 -64

No files matched your search

-3
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']):