diff options
Diffstat (limited to 'Scenes')
-rw-r--r-- | Scenes/Transition.gd | 2 | ||||
-rw-r--r-- | Scenes/Transition.tscn | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Scenes/Transition.gd b/Scenes/Transition.gd index a9f6019..05bfb43 100644 --- a/Scenes/Transition.gd +++ b/Scenes/Transition.gd @@ -15,6 +15,8 @@ func _ready(): get_node(dices[prev_stage]).show() if Global.turns > 0: + if Global.current_stage != 0: + $AudioFanfare.play() if prev_stage == 5: victory() else: diff --git a/Scenes/Transition.tscn b/Scenes/Transition.tscn index 76f74d2..d3cac4c 100644 --- a/Scenes/Transition.tscn +++ b/Scenes/Transition.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=31 format=2] +[gd_scene load_steps=32 format=2] [ext_resource path="res://Assets/transition.png" type="Texture" id=1] [ext_resource path="res://Scenes/CameraControl.gd" type="Script" id=2] @@ -15,6 +15,7 @@ [ext_resource path="res://Assets/4_dots.png" type="Texture" id=13] [ext_resource path="res://Assets/Sound/explosion.wav" type="AudioStream" id=14] [ext_resource path="res://Assets/2_dots_blue.png" type="Texture" id=15] +[ext_resource path="res://Assets/Sound/fanfare.wav" type="AudioStream" id=16] [sub_resource type="QuadMesh" id=5] @@ -631,3 +632,7 @@ anims/RESET = SubResource( 18 ) [node name="AudioExplosion" type="AudioStreamPlayer" parent="."] stream = ExtResource( 14 ) volume_db = -20.0 + +[node name="AudioFanfare" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 16 ) +volume_db = -15.0 |