feat:ambiance
This commit is contained in:
76
main.tscn
76
main.tscn
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=122 format=4 uid="uid://s1cx1gvt4bed"]
|
||||
[gd_scene load_steps=128 format=4 uid="uid://s1cx1gvt4bed"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cvtt52wodbopm" path="res://main.gd" id="1_272bh"]
|
||||
[ext_resource type="PackedScene" uid="uid://yvp44oauis4n" path="res://player/player.tscn" id="1_ig7tw"]
|
||||
@ -28,6 +28,10 @@
|
||||
[ext_resource type="AudioStream" uid="uid://dfmfve4c3l4fb" path="res://world_assets/audio/564024__gertraut_hecher__harp-arpeggio-medieval-tune.wav" id="26_xuqvo"]
|
||||
[ext_resource type="AudioStream" uid="uid://cqqa1wa2qs8ib" path="res://world_assets/audio/575585_gertraut_hecher_medieval_life_minstrels_and_jugglers.wav" id="27_qsp4k"]
|
||||
[ext_resource type="AudioStream" uid="uid://ohxncjlv12wy" path="res://world_assets/audio/787351__gertraut_hecher__medieval-dance-saltarello.wav" id="28_kq58d"]
|
||||
[ext_resource type="AudioStream" uid="uid://d2vbc5xbu67no" path="res://world_assets/audio/ambiance/forestStart.wav" id="29_seu75"]
|
||||
[ext_resource type="AudioStream" uid="uid://cp2acg3q53jia" path="res://world_assets/audio/ambiance/forestBalade.wav" id="30_htxhm"]
|
||||
[ext_resource type="AudioStream" uid="uid://bsosrbr0tgg25" path="res://world_assets/audio/ambiance/squelettes.mp3" id="31_jq2sk"]
|
||||
[ext_resource type="AudioStream" uid="uid://o8kcbs7gk61y" path="res://world_assets/audio/ambiance/cave.wav" id="32_htxhm"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ycdy4"]
|
||||
atlas = ExtResource("3_dg77c")
|
||||
@ -1265,6 +1269,44 @@ stream_0/stream = ExtResource("26_xuqvo")
|
||||
stream_1/stream = ExtResource("27_qsp4k")
|
||||
stream_2/stream = ExtResource("28_kq58d")
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_htxhm"]
|
||||
size = Vector2(14, 33)
|
||||
|
||||
[sub_resource type="AudioStreamInteractive" id="AudioStreamInteractive_4k2k6"]
|
||||
clip_count = 4
|
||||
clip_0/name = &"Start"
|
||||
clip_0/stream = ExtResource("29_seu75")
|
||||
clip_0/auto_advance = 0
|
||||
clip_1/name = &"Forest"
|
||||
clip_1/stream = ExtResource("30_htxhm")
|
||||
clip_1/auto_advance = 0
|
||||
clip_2/name = &"Squelettes"
|
||||
clip_2/stream = ExtResource("31_jq2sk")
|
||||
clip_2/auto_advance = 0
|
||||
clip_3/name = &"Cave"
|
||||
clip_3/stream = ExtResource("32_htxhm")
|
||||
clip_3/auto_advance = 0
|
||||
_transitions = {
|
||||
Vector2i(0, 1): {
|
||||
"fade_beats": 1.0,
|
||||
"fade_mode": 3,
|
||||
"from_time": 0,
|
||||
"to_time": 1
|
||||
},
|
||||
Vector2i(1, 2): {
|
||||
"fade_beats": 1.0,
|
||||
"fade_mode": 3,
|
||||
"from_time": 0,
|
||||
"to_time": 1
|
||||
},
|
||||
Vector2i(2, 3): {
|
||||
"fade_beats": 1.0,
|
||||
"fade_mode": 3,
|
||||
"from_time": 0,
|
||||
"to_time": 1
|
||||
}
|
||||
}
|
||||
|
||||
[node name="Main" type="Node2D"]
|
||||
script = ExtResource("1_272bh")
|
||||
|
||||
@ -1700,6 +1742,35 @@ libraries = {
|
||||
stream = SubResource("AudioStreamRandomizer_seu75")
|
||||
bus = &"Music"
|
||||
|
||||
[node name="BaladeAmbiance" type="Area2D" parent="."]
|
||||
position = Vector2(347, -13)
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="BaladeAmbiance"]
|
||||
position = Vector2(-18, -5.5)
|
||||
shape = SubResource("RectangleShape2D_htxhm")
|
||||
|
||||
[node name="SquelettesAmbiance" type="Area2D" parent="."]
|
||||
position = Vector2(2397, -14)
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="SquelettesAmbiance"]
|
||||
position = Vector2(-18, -5.5)
|
||||
shape = SubResource("RectangleShape2D_htxhm")
|
||||
|
||||
[node name="CaveAmbiance" type="Area2D" parent="."]
|
||||
position = Vector2(4364, -13)
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CaveAmbiance"]
|
||||
position = Vector2(-18, -5.5)
|
||||
shape = SubResource("RectangleShape2D_htxhm")
|
||||
|
||||
[node name="Ambiance" type="AudioStreamPlayer" parent="."]
|
||||
stream = SubResource("AudioStreamInteractive_4k2k6")
|
||||
autoplay = true
|
||||
bus = &"Ambiance"
|
||||
|
||||
[connection signal="dialogue_ended" from="OpeningDialogue" to="Player" method="_on_dialogue_manager_dialogue_ended"]
|
||||
[connection signal="dialogue_ended" from="NPCFirstDialogue" to="ShieldChoice" method="start_choice"]
|
||||
[connection signal="accepted" from="ShieldChoice" to="NPCShieldDialogue" method="on_dialogue_started"]
|
||||
@ -1729,3 +1800,6 @@ bus = &"Music"
|
||||
[connection signal="dialogue_ended" from="FinalArmor" to="." method="_on_final_armor_dialogue_ended"]
|
||||
[connection signal="dialogue_ended" from="FinalArmor" to="Player" method="_on_final_armor_dialogue_ended"]
|
||||
[connection signal="body_entered" from="FinalCinematic" to="." method="_on_final_cinematic_body_entered"]
|
||||
[connection signal="body_entered" from="BaladeAmbiance" to="." method="_on_balade_ambiance_body_entered"]
|
||||
[connection signal="body_entered" from="SquelettesAmbiance" to="." method="_on_squelettes_ambiance_body_entered"]
|
||||
[connection signal="body_entered" from="CaveAmbiance" to="." method="_on_cave_ambiance_body_entered"]
|
||||
|
Reference in New Issue
Block a user