fixed engine sound errors
This commit is contained in:
parent
5db669e428
commit
7805ce1c32
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ func _process(delta):
|
||||||
camera.position = Vector2(get_speed_proportion() * camera_offset, 0)
|
camera.position = Vector2(get_speed_proportion() * camera_offset, 0)
|
||||||
camera.rotation_degrees = momentum.angle() + 90
|
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:
|
if momentum.length() > max_speed:
|
||||||
momentum = momentum.normalized() * max_speed
|
momentum = momentum.normalized() * max_speed
|
||||||
|
|
Loading…
Reference in a new issue