and disable player controls
A Tween is an object created in code to animate and sequence changes
They can animate properties, call functions and wait.
Add a 1 second delay between loading scenes
Making it wait for 1 second
Then make the tween reload the current scene
or make the tween load the next scene
We should also disable controls and indicate that we are changing scenes
Add a new variable under the export variables at the top
Name the variable is_transitioning and set it to false
Adjust the body_entered function to only execute when
is_transitioning is false
Now we can update the crash_sequence
and complete_level functions
to indicate transitioning
setting the process function to false