From 81c4f5427cf959b1e748a918e04a7cfc1d0bfa17 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 27 Jan 2024 14:14:08 +0100 Subject: [PATCH] "anri t'es vraiment trop cool" --- project.godot | 4 ++-- scripts/Player.gd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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()