cool stuff
This commit is contained in:
parent
a9be913adb
commit
44be9924a6
11 changed files with 202 additions and 29 deletions
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue