Try setting a variable like
game_running to an initial value of False, and change it to True in the
Then, in the
_physics_process(delta) function, have an IF statement that will check for 'game_running' to be True.
if game_running == true:
Then, we can accelerate. We'll need a Vector2 with a negative Y value.
We can use the
clamp() method to keep the speed within a specific range.