added audio subtitle system and menus and more

This commit is contained in:
2024-01-23 23:58:30 +01:00
parent 7d77925b97
commit e7973d6086
32 changed files with 479 additions and 221 deletions

View File

@@ -51,7 +51,7 @@ func _input(event: InputEvent) -> void:
if event is InputEventMouseMotion && Input.mouse_mode == Input.MOUSE_MODE_CAPTURED:
rotate_y(-event.relative.x * camera_senitivity * 0.0025)
camera.rotate_x(-event.relative.y * camera_senitivity * 0.0015)
camera.rotation_degrees.x = clamp(camera.rotation_degrees.x, -40, 80)
camera.rotation_degrees.x = clamp(camera.rotation_degrees.x, -80, 80)
if event.is_action_pressed("pause"):
capture(false)
if event.is_action_pressed("mouse_capture"):