diff --git a/project.godot b/project.godot index 7b73213..e77cbfc 100644 --- a/project.godot +++ b/project.godot @@ -17,11 +17,11 @@ config/icon="res://icon.svg" [display] -window/size/viewport_width=1920 +window/size/viewport_width=1600 window/size/viewport_height=1080 window/size/mode=2 window/size/resizable=false -window/size/borderless=true +window/stretch/aspect="expand" [input] diff --git a/scripts/Player.gd b/scripts/Player.gd index a61a19f..5fb57eb 100644 --- a/scripts/Player.gd +++ b/scripts/Player.gd @@ -21,7 +21,7 @@ func _input(event): # Trap the cursor on click Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) -func _physics_process(delta): +func _physics_process(_delta): # Get the input direction and handle the movement/deceleration. var input_dir = Input.get_vector("move_left", "move_right", "move_forward", "move_backward") var direction = (transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized()