Adding a door for level exits
Create a new scene with Area2D as root
Select the ItemsLayer node
Add a CollisionShape2D node
Add a new RectangleShape2D
Set the Collision Mask to only look for the Player
Place a door in the level
Now open the level base script
Add a variable for the door scene
To also instantiate doors
Connect the body entered signal
Next we will create the on door entered function
Create the on door entered function
To transition to the next level