There was an interesting question posted asking for a solution for generating a branching path but seems the topic was deleted by the user jentry after he got a few solutions.
Deleted topic:
construct.net/en/forum/construct-3/how-do-i-8/generate-level-map-179620
Oh well, I think he did that to me before after I posted a solution to one of his other topics. Actually, looking at his posting history he deletes everything. Good to know.
Anyways!
I thought the solution was interesting enough to post again. It generates branching paths like this:
The algorithm I came up with starts with multiple parallel lines with nodes in columns, and it repeatedly collapses random adjacent nodes in the columns. This image roughly illustrates the algorithm:
Download link. In code blocks because this forum breaks new dropbox links otherwise.
https://www.dropbox.com/scl/fi/ukgwp8kful81ztfg7s3qc/branch_path_gen.capx?rlkey=nsyu7ofa95ie9sng6b7a0xeeb&dl=1
There is probably cleaner ways to implement it.
igortyhon also posted a solution but I didn't get a chance to download it.
-cheers