Question by
Leon_Dishloy · Oct 10, 2021 at 09:48 AM ·
tutorialgenerationtilesprocedural generationchunks
How to make 2D TopDown chunks spawn and delete?
Hello, I want to create an infinite map for my game, with idea that it uses grid tiles. Grid cells are big and have already prefab for that, the idea that when player leaves that cell on his way will be spawned new ground prefab and previous will be deleted when it will be outside of camera.
Maybe someone knew tutorial for that? I just googled a lot and still can't find any solution.
Like this:
I have searched for youtube and here is the short example what i need but with rectangle type of tiles.
Video: https://www.youtube.com/watch?v=QqXOwSZEkxU
I will be very thankful if someone can help me with that or give me a link for examlpe or tutorial to realise that!
Thank you! Have a great day!
example.jpg
(173.6 kB)
Comment