Talk:Simple Map Collision Detection (Array Based)/@comment-75.208.140.204-20140928024042/@comment-9531161-20141019231803

I'm sorry, I didn't see this until just now. I don't know if you're still wondering, but what you'd need to do is set up a system that loads an arbitrary map instead of the same map every time. You could then have multiple data sections that are named different things (like @MAP1, @MAP2, etc.). You could add a special tile that teleports you to another area, and then just detect whether or not you're on that tile by checking the map data in the area directly underneath the player's feet. The code will be similar to checking for collision, except instead of not allowing the player to go through the tile, you'd just load up the new map.

There's a lot to it, so I can't really go into detail without creating a whole other tutorial. If you have any specific questions about this, let me know.