Read in tile data from tilemap
This commit is contained in:
@ -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']):
|
||||
|
Reference in New Issue
Block a user