mise en place du sfx de sortie du vaisseau et mixage #150

This commit is contained in:
2026-03-01 14:34:25 +01:00
committed by Zacharie Guet
parent 23927fe7b4
commit e05ec227d8
2 changed files with 2 additions and 0 deletions

View File

@@ -240,6 +240,7 @@ stream = SubResource("AudioStreamRandomizer_qog4c")
[node name="Ship_reveal" type="AudioStreamPlayer" parent="Sfx" unique_id=1121632306] [node name="Ship_reveal" type="AudioStreamPlayer" parent="Sfx" unique_id=1121632306]
stream = ExtResource("37_3dfjn") stream = ExtResource("37_3dfjn")
volume_db = -3.0
[node name="Signal" type="AudioStreamPlayer" parent="Sfx" unique_id=335682989] [node name="Signal" type="AudioStreamPlayer" parent="Sfx" unique_id=335682989]
stream = ExtResource("41_iaiio") stream = ExtResource("41_iaiio")

View File

@@ -84,6 +84,7 @@ func _on_right_screen_activated():
update_dashboard() update_dashboard()
func _on_exit_clicked(): func _on_exit_clicked():
AudioManager.play_sfx("Ship_exit")
if not GameInfo.game_data.ship_in_space and GameInfo.game_data.current_region_data != null: if not GameInfo.game_data.ship_in_space and GameInfo.game_data.current_region_data != null:
SceneManager.change_to_scene_id('REGION') SceneManager.change_to_scene_id('REGION')