bcvery1 / tilepix

Library for combining tiled maps with pixel
MIT License
46 stars 14 forks source link

Handle infinite maps #13

Open bcvery1 opened 5 years ago

bcvery1 commented 5 years ago

When a map is marked as infinite, Tiled models it in 50x50 (need to confirm this is constant, but the size of the map is the size of the chunks) tile chunks.

These chunks are effectively tilelayers, but have a x and y position. Should be able to reimplement the tilelayer functionality on chunks, but also taking account for the x, y offsets.