fixed engine sound errors

This commit is contained in:
KingGurke 2023-10-01 21:06:56 +02:00
parent 5db669e428
commit 7805ce1c32

View file

@ -73,7 +73,7 @@ func _process(delta):
camera.position = Vector2(get_speed_proportion() * camera_offset, 0)
camera.rotation_degrees = momentum.angle() + 90
$engine_sounds.pitch_scale = get_speed_proportion() * 1.2
$engine_sounds.pitch_scale = get_speed_proportion() + .2
if momentum.length() > max_speed:
momentum = momentum.normalized() * max_speed