In this example, the camera will smoothly move into the next room when the player leaves it in any of the cardinal directions.
The example also has the additions that the player will get an additional jump when jumping up into a transition and will be kept within the current frame when the transition is in progress.
This game is made with GDevelop using these features:
Edit it in GDevelop
Test and edit this example in the GDevelop game engine.