It allows for following the player within the boundaries of a single room, and then smoothly slides the camera to the next room after the player enters it. It also freezes the player's controls and enemies while the room transition is occurring.
This game is made with GDevelop using these features:
Edit it in GDevelop
Test and edit this example in the GDevelop game engine.