rajouter des bus pour les différents audios
This commit is contained in:
@@ -29,7 +29,7 @@ func _ready() -> void:
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
var pitch = current_speed / speed
|
||||
var pitch = (current_speed / speed) * 1.35
|
||||
if is_zero_approx(pitch):
|
||||
pitch = 0.01
|
||||
$AudioStreamPlayer2D.pitch_scale = pitch
|
||||
|
||||
@@ -604,7 +604,7 @@ target_position = Vector2(1, -32)
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("4_o8ske")
|
||||
volume_db = -15.359
|
||||
volume_db = -4.687
|
||||
autoplay = true
|
||||
attenuation = 2.0
|
||||
playback_type = 1
|
||||
|
||||
Reference in New Issue
Block a user