Anri/AdBlockNot
Archived
1
0
Fork 0

"anri t'es vraiment trop cool"

This commit is contained in:
Mylloon 2024-01-27 14:14:08 +01:00
parent 4678b6d7b5
commit 81c4f5427c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 3 additions and 3 deletions

View file

@ -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]

View file

@ -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()