Change tire sounds
parent
2ab280fb92
commit
4c163082ca
|
@ -9,3 +9,4 @@ export_presets.cfg
|
||||||
# Mono-specific ignores
|
# Mono-specific ignores
|
||||||
.mono/
|
.mono/
|
||||||
data_*/
|
data_*/
|
||||||
|
build/
|
||||||
|
|
|
@ -23,5 +23,5 @@ func _update_sound(skidinfo: float) -> void:
|
||||||
return
|
return
|
||||||
while to_fill > 0:
|
while to_fill > 0:
|
||||||
sound_playback.push_frame(Vector2(1.0, 1.0) * factor)
|
sound_playback.push_frame(Vector2(1.0, 1.0) * factor)
|
||||||
factor += sin(factor) * 2
|
factor += 1
|
||||||
to_fill -= 1
|
to_fill -= 1
|
||||||
|
|
Loading…
Reference in New Issue