esc - close game
This commit is contained in:
parent
df6fb82576
commit
52b95fe0da
@ -143,6 +143,9 @@ func _process(_delta):
|
||||
process_animations()
|
||||
|
||||
func process_input():
|
||||
if Input.is_action_just_pressed("ui_cancel"):
|
||||
get_tree().quit()
|
||||
|
||||
# Walking
|
||||
var input_movement_vector = Vector2()
|
||||
if Input.is_action_pressed("move_fwrd"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user