suppression des sfx de déblocage et ajout du morceau de Subterra
This commit is contained in:
BIN
common/audio_manager/assets/morceaux/histoire/subterra.ogg
Normal file
BIN
common/audio_manager/assets/morceaux/histoire/subterra.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://bdsghxlbtduuy"
|
||||
path="res://.godot/imported/subterra.ogg-458c2f15c134af211d5a71b5819758c5.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/morceaux/histoire/subterra.ogg"
|
||||
dest_files=["res://.godot/imported/subterra.ogg-458c2f15c134af211d5a71b5819758c5.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -184,6 +184,9 @@ unique_name_in_owner = true
|
||||
stream = ExtResource("8_tuvql")
|
||||
volume_db = -5.0
|
||||
|
||||
[node name="Subterra" type="AudioStreamPlayer" parent="Ambiances" unique_id=2019011683]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Musics" type="Node" parent="." unique_id=1450527710]
|
||||
unique_name_in_owner = true
|
||||
|
||||
|
||||
@@ -91,7 +91,6 @@ func set_announce_object(object := announce_object):
|
||||
if not visible:
|
||||
%AnimationPlayer.play("appear")
|
||||
Pointer.action_disabled = true
|
||||
AudioManager.play_sfx("Reveal")
|
||||
elif object == null and visible:
|
||||
%AnimationPlayer.play_backwards("appear")
|
||||
get_tree().create_timer(0.2).timeout.connect( # Put a delay to not interfere with the ok button click
|
||||
|
||||
@@ -147,14 +147,12 @@ func finish_tutorial():
|
||||
|
||||
func display_plant_info_tutorial(with_card_info : CardInfo):
|
||||
%PlantInfoCard.info = with_card_info
|
||||
AudioManager.play_sfx("Reveal")
|
||||
%PlantInfoCard.update()
|
||||
%PlantInfoTutorialAnimationPlayer.play("appear")
|
||||
Pointer.action_disabled = true
|
||||
|
||||
func display_mutations_tutorial(with_card_info : CardInfo):
|
||||
%MutationCard.info = with_card_info
|
||||
AudioManager.play_sfx("Reveal")
|
||||
%MutationCard.update()
|
||||
%MutationTutorialAnimationPlayer.play("appear")
|
||||
Pointer.action_disabled = true
|
||||
|
||||
@@ -23,7 +23,7 @@ func _ready():
|
||||
ok_button.button_down.connect(_on_ok_button_button_down)
|
||||
|
||||
func appear():
|
||||
AudioManager.play_sfx("Reveal")
|
||||
AudioManager.play_sfx("Unlock_tool")
|
||||
animation_player.play("appear")
|
||||
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
||||
player.controlling_player=false
|
||||
|
||||
Reference in New Issue
Block a user