cool stuff

This commit is contained in:
Tabby 2025-05-25 15:14:49 +10:00
parent a9be913adb
commit 44be9924a6
11 changed files with 202 additions and 29 deletions

View file

@ -39,10 +39,11 @@ func _physics_process(delta):
#free the mouse for debugging
if Input.is_action_just_pressed("esc"):
if (Input.mouse_mode == Input.MOUSE_MODE_CAPTURED):
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
else:
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
#if (Input.mouse_mode == Input.MOUSE_MODE_CAPTURED):
#Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
#else:
#Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
get_parent().pause()
# interact with stuff
if Input.is_action_just_pressed("drop"):