Hey all. I'm creating a small scale Metroidvania type game. So each small layout is a piece of the overall map and when the player reaches the end of the layout, the game fades out and in to another layout. I'm doing this because I couldn't get camera clamping/scrolling to work on large layouts. I'm having problems placing the player in a specific part of the newly loaded layout depending on where he or she "exited" the last layout.
Hope I'm being clear. I'm trying to figure out the logic or code for this but I can't find any events that might achieve what I'm trying to do. For example, I need to position the player on the far right side of Level 2 if the player enters Level 2 from Level 3. I need to position the player on the far left side of Level 2 if they enter Level 2 by Level 1. Is there some sort of event that would give me control over the position of the player in one layout while in another layout.