Hi everyone,
I'm not sure if this should go here, but as I still consider myself as a beginner, I will open a post here.
I'm trying to procedurally generate a 2D terrain with a tilemap, I successfully done it with a simple tileset (with chunks), but now I want to introduce my own tileset which has terrain options for auto placing specific tiles when I place a type of tile.
I can clearly see big freezes when I'm trying this (below in my code), where I just generate the final tiles at the end of each chunk generation. Do you know how should I implement it, so it's correctly optimal ?
Thank you !