Advertisement
Guest User

My very shitty program!

a guest
Feb 20th, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. extends KinematicBody2D
  2.  
  3. const maxMoveSpeed = 210
  4. const MoveSpeed = 120
  5.  
  6. var velocity = Vector2()
  7.  
  8. func _ready():
  9.     pass
  10.  
  11. func _physics_process(delta):
  12.     if Input.is_action_pressed("ui_escape"):
  13.         get_tree().quit()
  14.     else:
  15.         pass
  16.    
  17.     if Input.is_action_pressed("ui_space"):
  18.         textbox(open, 300w)
  19.  
  20. func textbox(open, 100w, 250w, 300w):
  21.     if textbox == true:
  22.         pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement