Guest User

player

a guest
Feb 3rd, 2024
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. extends CharacterBody2D
  2.  
  3. func _physics_process(delta):
  4. velocity = Input.get_vector("ui_left","ui_right","ui_up","ui_down") * 100
  5. move_and_slide()
  6.  
Add Comment
Please, Sign In to add comment