Hi, first of all, I love those courses and thank you for your work.
But I wanted to ask about one thing: at the end, you create a new function for the player scene that is responsible for character jumping. I always try to be a little ahead of the course to always think about what I am learning and I did it a little different: in the jump pad script, I just decrease the body.velocity.y by a variable force. It still can be easily exported and I wondered, if any of those two solutions is any better in terms of optimization or anything else. Of course, both solutions works perfectly fine.
For clarification, I paste the code below. There is also an additional fragment to set the player on the set hight to make sure, that he jumps always to the same height, because from my tests there was sometimes a difference in the player height after jumping on jump pads.
func _on_body_entered(body):
if body is Player:
animated_sprite.play("jump")
body.global_position.y = global_position.y - 10
body.velocity.y = -jump_force