Generating endless map from premade rooms

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


I am currently working on infinite map made out of pre-made rooms/chunks ( just like in Redungeon: ) The idea is to copy room_A and right behind it connect random room (B-Z). Then add another random room and this would go infinitely. Once each room would be offscreen it would be deleted out of memory.

Can you please point me in some direction? Because I can’t figure it out myself.

I hope you can understand what I mean. Sorry for gramatical mistakes.

Thank you

What exactly are you struggling with? In general you would create a scene for each room and add instances of those rooms as child nodes of your main game during runtime once the player moves past a certain position. Nothing complicated.

njamster | 2020-08-09 21:05