chunking 2d tilemaps

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By veridical

I’m still new to Godot, but I’ve never dealt with chunking, how would I implement chunking? is there a way to load/unload small sections of the map line by line? or would it have to actually be an entire section? and how would I go about doing that?
If at all possible I would prefer not to use someone else’s library so I can learn how it works

idk but i seen this property cell_quadrant_size that mentions chunk in docs

rakkarage | 2020-10-12 16:12

ahh I see, so they divide the tile map into quadrants and load the ones by the camera, I knew thats how you would do it, but i wonder how the code works, anyways thanks!

veridical | 2020-10-12 20:24