How do I make infinite world generation?

Godot Version

4.6

Question

I want to make an infinite running game, where you run to the side. It is a side-scroller, but every infinite world gen tutorial i find is for top-down. I want it to be very specific. I need the world to generate in chunks, with different obstacles. So one chunk has a zipline, the next one is fully flat. How do I make something like that?


You follow a top-down tutorial or two and adapt them. It’s the exact same concept in one dimension instead of two dimensions.