Topic was automatically imported from the old Question2Answer platform.
Asked By
jujumumu
How can I do chunk loading? I have a 2d world with a lot of tiles. My theory for chunk loading is that for each chunk you instance a tile map and then to unload it you call queue free. Is this how it works?
The Godot tile map has a pseudo-chunk loading thing built in that might help.
It’s pretty much how it works yes. Don’t forget to do all your runtime scene tree manipulations inside a call_deffered() .
Ok Thanks!! Now I have confidence to continue with this method.
jujumumu | 2020-03-01 00:00
Wait, whats the point of instancing a chunk then calling queue free every time. Why can’t I just set the tile in the tilemap to the tile and to unload it just set it to be empty?