Advertisement
Cruddier

Jumppad

Feb 14th, 2021
1,665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. func _on_JumpPad_Green_body_entered(body: Node) -> void:
  2.     if body.name == "Player":
  3.         print("check")
  4.         body.y_velo = -700
  5.         $AnimationPlayer.play("used")
  6.         #body.GRAVITY(body.y_velo)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement