Create and "open world" game or seamlessly transition between external layouts?

Here’s how:

I saw a lot of people asking about this, or at least enough that got me thinking I should try and implement it for my own game ideas. Now we can just link people to this thread when they ask :sweat_smile:

Feel free to ask any questions.
I tried my best to add lots of comments in the code.