diff --git a/asset/audio/mixkit/mixkit-meat-hit.ogg b/asset/audio/mixkit/mixkit-meat-hit.ogg deleted file mode 100644 index cf494d18..00000000 Binary files a/asset/audio/mixkit/mixkit-meat-hit.ogg and /dev/null differ diff --git a/asset/audio/mixkit/mixkit-meat-hit.ogg.import b/asset/audio/mixkit/mixkit-meat-hit.ogg.import deleted file mode 100644 index d3ace2e1..00000000 --- a/asset/audio/mixkit/mixkit-meat-hit.ogg.import +++ /dev/null @@ -1,19 +0,0 @@ -[remap] - -importer="oggvorbisstr" -type="AudioStreamOggVorbis" -uid="uid://cv6aivf1jcvd3" -path="res://.godot/imported/mixkit-meat-hit.ogg-304354755dd8868065932df89a2ad655.oggvorbisstr" - -[deps] - -source_file="res://asset/audio/mixkit/mixkit-meat-hit.ogg" -dest_files=["res://.godot/imported/mixkit-meat-hit.ogg-304354755dd8868065932df89a2ad655.oggvorbisstr"] - -[params] - -loop=false -loop_offset=0 -bpm=0 -beat_count=0 -bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/sfx_胖子被砸死.ogg b/asset/audio/sfx/交互/第二章/sfx_胖子被砸死.ogg new file mode 100644 index 00000000..4ac06584 Binary files /dev/null and b/asset/audio/sfx/交互/第二章/sfx_胖子被砸死.ogg differ diff --git a/asset/audio/sfx/交互/第二章/sfx_胖子被砸死.ogg.import b/asset/audio/sfx/交互/第二章/sfx_胖子被砸死.ogg.import new file mode 100644 index 00000000..a38ca57a --- /dev/null +++ b/asset/audio/sfx/交互/第二章/sfx_胖子被砸死.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://7ifxbe8eaxpj" +path="res://.godot/imported/sfx_胖子被砸死.ogg-8a687892d56f2aee17768ba62e070b86.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/sfx_胖子被砸死.ogg" +dest_files=["res://.godot/imported/sfx_胖子被砸死.ogg-8a687892d56f2aee17768ba62e070b86.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/击中耳鸣.ogg b/asset/audio/sfx/交互/第二章/击中耳鸣.ogg new file mode 100644 index 00000000..03f3cb73 Binary files /dev/null and b/asset/audio/sfx/交互/第二章/击中耳鸣.ogg differ diff --git a/asset/audio/sfx/交互/第二章/击中耳鸣.ogg.import b/asset/audio/sfx/交互/第二章/击中耳鸣.ogg.import new file mode 100644 index 00000000..549ece0e --- /dev/null +++ b/asset/audio/sfx/交互/第二章/击中耳鸣.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://pr6y27kaf7km" +path="res://.godot/imported/击中耳鸣.ogg-44c99518cc1fa68c1a6ad0f1a059c2ab.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/击中耳鸣.ogg" +dest_files=["res://.godot/imported/击中耳鸣.ogg-44c99518cc1fa68c1a6ad0f1a059c2ab.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/剁肉_正常.ogg b/asset/audio/sfx/交互/第二章/剁肉_正常.ogg new file mode 100644 index 00000000..0eb10ef2 Binary files /dev/null and b/asset/audio/sfx/交互/第二章/剁肉_正常.ogg differ diff --git a/asset/audio/sfx/交互/第二章/剁肉_正常.ogg.import b/asset/audio/sfx/交互/第二章/剁肉_正常.ogg.import new file mode 100644 index 00000000..09cc1420 --- /dev/null +++ b/asset/audio/sfx/交互/第二章/剁肉_正常.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://dan2yo5gdwvc7" +path="res://.godot/imported/剁肉_正常.ogg-d95f5e5c033a16ecceb3b7446dc90522.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/剁肉_正常.ogg" +dest_files=["res://.godot/imported/剁肉_正常.ogg-d95f5e5c033a16ecceb3b7446dc90522.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/剁肉_诡异.ogg b/asset/audio/sfx/交互/第二章/剁肉_诡异.ogg new file mode 100644 index 00000000..7c99c5cd Binary files /dev/null and b/asset/audio/sfx/交互/第二章/剁肉_诡异.ogg differ diff --git a/asset/audio/sfx/交互/第二章/剁肉_诡异.ogg.import b/asset/audio/sfx/交互/第二章/剁肉_诡异.ogg.import new file mode 100644 index 00000000..5e8d7d2d --- /dev/null +++ b/asset/audio/sfx/交互/第二章/剁肉_诡异.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://b5cjl0a4iw1kd" +path="res://.godot/imported/剁肉_诡异.ogg-bf173b7d659fdab9b63e26cb8bd5c371.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/剁肉_诡异.ogg" +dest_files=["res://.godot/imported/剁肉_诡异.ogg-bf173b7d659fdab9b63e26cb8bd5c371.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/推开棺材盖板.ogg b/asset/audio/sfx/交互/第二章/推开棺材盖板.ogg new file mode 100644 index 00000000..55686b72 Binary files /dev/null and b/asset/audio/sfx/交互/第二章/推开棺材盖板.ogg differ diff --git a/asset/audio/sfx/交互/第二章/推开棺材盖板.ogg.import b/asset/audio/sfx/交互/第二章/推开棺材盖板.ogg.import new file mode 100644 index 00000000..64388aae --- /dev/null +++ b/asset/audio/sfx/交互/第二章/推开棺材盖板.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://7n1bm65xrgip" +path="res://.godot/imported/推开棺材盖板.ogg-52b869e10900323aaec1c250c38dfbf5.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/推开棺材盖板.ogg" +dest_files=["res://.godot/imported/推开棺材盖板.ogg-52b869e10900323aaec1c250c38dfbf5.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/李氏哑巴音效.ogg b/asset/audio/sfx/交互/第二章/李氏哑巴音效.ogg new file mode 100644 index 00000000..84d7193b Binary files /dev/null and b/asset/audio/sfx/交互/第二章/李氏哑巴音效.ogg differ diff --git a/asset/audio/sfx/交互/第二章/李氏哑巴音效.ogg.import b/asset/audio/sfx/交互/第二章/李氏哑巴音效.ogg.import new file mode 100644 index 00000000..03c0eb4c --- /dev/null +++ b/asset/audio/sfx/交互/第二章/李氏哑巴音效.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://d2kgmkqnxyxx7" +path="res://.godot/imported/李氏哑巴音效.ogg-0712e03079ae5794c073edb4cf8701a0.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/李氏哑巴音效.ogg" +dest_files=["res://.godot/imported/李氏哑巴音效.ogg-0712e03079ae5794c073edb4cf8701a0.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/棺材怪脚步.ogg b/asset/audio/sfx/交互/第二章/棺材怪脚步.ogg new file mode 100644 index 00000000..71addeac Binary files /dev/null and b/asset/audio/sfx/交互/第二章/棺材怪脚步.ogg differ diff --git a/asset/audio/sfx/交互/第二章/棺材怪脚步.ogg.import b/asset/audio/sfx/交互/第二章/棺材怪脚步.ogg.import new file mode 100644 index 00000000..78811553 --- /dev/null +++ b/asset/audio/sfx/交互/第二章/棺材怪脚步.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://s1ogxxkfscc6" +path="res://.godot/imported/棺材怪脚步.ogg-b8ddf98053235483d477c1ef56f04950.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/棺材怪脚步.ogg" +dest_files=["res://.godot/imported/棺材怪脚步.ogg-b8ddf98053235483d477c1ef56f04950.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/棺材怪脚步_连续.ogg b/asset/audio/sfx/交互/第二章/棺材怪脚步_连续.ogg new file mode 100644 index 00000000..3fb99093 Binary files /dev/null and b/asset/audio/sfx/交互/第二章/棺材怪脚步_连续.ogg differ diff --git a/asset/audio/sfx/交互/第二章/棺材怪脚步_连续.ogg.import b/asset/audio/sfx/交互/第二章/棺材怪脚步_连续.ogg.import new file mode 100644 index 00000000..1e7eb1ee --- /dev/null +++ b/asset/audio/sfx/交互/第二章/棺材怪脚步_连续.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://btyqvyc807gla" +path="res://.godot/imported/棺材怪脚步_连续.ogg-a62eb72ca060a12ee90de3f88485c81f.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/棺材怪脚步_连续.ogg" +dest_files=["res://.godot/imported/棺材怪脚步_连续.ogg-a62eb72ca060a12ee90de3f88485c81f.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/棺材怪脚步氛围音效.ogg b/asset/audio/sfx/交互/第二章/棺材怪脚步氛围音效.ogg new file mode 100644 index 00000000..5a83ca80 Binary files /dev/null and b/asset/audio/sfx/交互/第二章/棺材怪脚步氛围音效.ogg differ diff --git a/asset/audio/sfx/交互/第二章/棺材怪脚步氛围音效.ogg.import b/asset/audio/sfx/交互/第二章/棺材怪脚步氛围音效.ogg.import new file mode 100644 index 00000000..18658ca0 --- /dev/null +++ b/asset/audio/sfx/交互/第二章/棺材怪脚步氛围音效.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bedrm5nxuuk5r" +path="res://.godot/imported/棺材怪脚步氛围音效.ogg-c14c253cb9b2d9e8624263d2481620dd.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/棺材怪脚步氛围音效.ogg" +dest_files=["res://.godot/imported/棺材怪脚步氛围音效.ogg-c14c253cb9b2d9e8624263d2481620dd.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/研磨_1.ogg b/asset/audio/sfx/交互/第二章/研磨_1.ogg new file mode 100644 index 00000000..30439678 Binary files /dev/null and b/asset/audio/sfx/交互/第二章/研磨_1.ogg differ diff --git a/asset/audio/sfx/交互/第二章/研磨_1.ogg.import b/asset/audio/sfx/交互/第二章/研磨_1.ogg.import new file mode 100644 index 00000000..00d760bb --- /dev/null +++ b/asset/audio/sfx/交互/第二章/研磨_1.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bonqr647ontfw" +path="res://.godot/imported/研磨_1.ogg-494d48b3aa1897ed1fc880d833e08ff4.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/研磨_1.ogg" +dest_files=["res://.godot/imported/研磨_1.ogg-494d48b3aa1897ed1fc880d833e08ff4.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/研磨_2.ogg b/asset/audio/sfx/交互/第二章/研磨_2.ogg new file mode 100644 index 00000000..ca3a5d7e Binary files /dev/null and b/asset/audio/sfx/交互/第二章/研磨_2.ogg differ diff --git a/asset/audio/sfx/交互/第二章/研磨_2.ogg.import b/asset/audio/sfx/交互/第二章/研磨_2.ogg.import new file mode 100644 index 00000000..3c9cb019 --- /dev/null +++ b/asset/audio/sfx/交互/第二章/研磨_2.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bkq1m55iju0py" +path="res://.godot/imported/研磨_2.ogg-919219d8aa7169619dc39dc90d7a4ba8.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/研磨_2.ogg" +dest_files=["res://.godot/imported/研磨_2.ogg-919219d8aa7169619dc39dc90d7a4ba8.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/研磨_3.ogg b/asset/audio/sfx/交互/第二章/研磨_3.ogg new file mode 100644 index 00000000..908f5702 Binary files /dev/null and b/asset/audio/sfx/交互/第二章/研磨_3.ogg differ diff --git a/asset/audio/sfx/交互/第二章/研磨_3.ogg.import b/asset/audio/sfx/交互/第二章/研磨_3.ogg.import new file mode 100644 index 00000000..d0782199 --- /dev/null +++ b/asset/audio/sfx/交互/第二章/研磨_3.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://bkqp0unck37u4" +path="res://.godot/imported/研磨_3.ogg-2c5b02af08bfad793e0e83956d572d9e.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/研磨_3.ogg" +dest_files=["res://.godot/imported/研磨_3.ogg-2c5b02af08bfad793e0e83956d572d9e.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/胖子靠近.ogg b/asset/audio/sfx/交互/第二章/胖子靠近.ogg new file mode 100644 index 00000000..5a3806dc Binary files /dev/null and b/asset/audio/sfx/交互/第二章/胖子靠近.ogg differ diff --git a/asset/audio/sfx/交互/第二章/胖子靠近.ogg.import b/asset/audio/sfx/交互/第二章/胖子靠近.ogg.import new file mode 100644 index 00000000..08992a05 --- /dev/null +++ b/asset/audio/sfx/交互/第二章/胖子靠近.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://hhs60fma61il" +path="res://.godot/imported/胖子靠近.ogg-de29a0e85a2e9b5f25c4e51249d37495.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/胖子靠近.ogg" +dest_files=["res://.godot/imported/胖子靠近.ogg-de29a0e85a2e9b5f25c4e51249d37495.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/asset/audio/sfx/交互/第二章/花盆碎裂.ogg b/asset/audio/sfx/交互/第二章/花盆碎裂.ogg new file mode 100644 index 00000000..65250263 Binary files /dev/null and b/asset/audio/sfx/交互/第二章/花盆碎裂.ogg differ diff --git a/asset/audio/sfx/交互/第二章/花盆碎裂.ogg.import b/asset/audio/sfx/交互/第二章/花盆碎裂.ogg.import new file mode 100644 index 00000000..a40cb2fa --- /dev/null +++ b/asset/audio/sfx/交互/第二章/花盆碎裂.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://ysq73lgj8454" +path="res://.godot/imported/花盆碎裂.ogg-78c0d4242e38fbbbe0805ec5a3021f97.oggvorbisstr" + +[deps] + +source_file="res://asset/audio/sfx/交互/第二章/花盆碎裂.ogg" +dest_files=["res://.godot/imported/花盆碎裂.ogg-78c0d4242e38fbbbe0805ec5a3021f97.oggvorbisstr"] + +[params] + +loop=false +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/scene/entity/interactable.gd b/scene/entity/interactable.gd index d5183d15..73f78cfb 100644 --- a/scene/entity/interactable.gd +++ b/scene/entity/interactable.gd @@ -40,6 +40,8 @@ signal sign_mark_offset_updated @export var one_shot_max_times := 1 @export var disable_prop_after_interacted := false @export var interacted_texture: Texture2D +@export var stream_success_replacement: AudioStream +@export var stream_invalid_replacement: AudioStream var prop_key := "" var prop_key2 := "" @@ -71,6 +73,10 @@ func _ready() -> void: var shape = area2d.get_node("CollisionShape2D").shape shape.size.x = collision_width_and_x.x area2d.position.x = collision_width_and_x.y + if stream_success_replacement: + sfx_success.stream = stream_success_replacement + if stream_invalid_replacement: + sfx_invalid.stream = stream_invalid_replacement if Engine.is_editor_hint(): return area2d.body_entered.connect(_on_entered) diff --git a/scene/ground/scene/c02/s03_院子.tscn b/scene/ground/scene/c02/s03_院子.tscn index 369a42c3..7b56cc56 100644 --- a/scene/ground/scene/c02/s03_院子.tscn +++ b/scene/ground/scene/c02/s03_院子.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=120 format=3 uid="uid://djc2uaefhmu7"] +[gd_scene load_steps=121 format=3 uid="uid://djc2uaefhmu7"] [ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_0dylx"] [ext_resource type="Script" uid="uid://dsp5plrdkrsd7" path="res://scene/ground/scene/c02/s03_院子.gd" id="2_dt5aj"] @@ -91,6 +91,7 @@ [ext_resource type="Texture2D" uid="uid://iochvxxj4oji" path="res://asset/art/scene/c03/s00_第三章开幕/邻居1.png" id="86_j6i36"] [ext_resource type="Texture2D" uid="uid://b1omqxct4hws2" path="res://asset/art/scene/c03/s00_第三章开幕/邻居2.png" id="87_y7f1y"] [ext_resource type="Texture2D" uid="uid://dr222pgv54efg" path="res://asset/art/scene/c03/s00_第三章开幕/邻居3.png" id="88_y7f1y"] +[ext_resource type="AudioStream" uid="uid://ysq73lgj8454" path="res://asset/audio/sfx/交互/第二章/花盆碎裂.ogg" id="91_iqe85"] [sub_resource type="Animation" id="Animation_rt2lh"] length = 0.001 @@ -1628,6 +1629,12 @@ libraries = { &"": SubResource("AnimationLibrary_0ek7o") } +[node name="Sfx花盆碎裂" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event第三章开幕"] +stream = ExtResource("91_iqe85") +bus = &"game_sfx" +script = ExtResource("4_ygnci") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + [node name="Note李癞_奠" parent="Ground/DeployLayer" index="42" instance=ExtResource("6_t48d1")] position = Vector2(1937, -26) title_filter = "c03" diff --git a/scene/ground/scene/c03/s04_李癞房间.gd b/scene/ground/scene/c03/s04_李癞房间.gd index 7fbc4d3a..e9966dea 100644 --- a/scene/ground/scene/c03/s04_李癞房间.gd +++ b/scene/ground/scene/c03/s04_李癞房间.gd @@ -59,6 +59,9 @@ func _on_exit_sort_mahjong_game(arg) -> void: func _on_exit_cheat_mahjong_game(arg) -> void: if arg: + # 咳嗽声暂时消失 + $"../DeployLayer/Event李氏纸人相关/Sfx2d咳嗽声".ease_kill() + EventManager.set_stage_if_greater("c03_mahjong_game", 3) EventManager.set_stage_if_greater("c03_li_paperwoman", 1) closeup麻将出千游戏.enabled = false diff --git a/scene/ground/scene/c03/s07_屠宰间.tscn b/scene/ground/scene/c03/s07_屠宰间.tscn index 5d80b5d5..8a3aa8c9 100644 --- a/scene/ground/scene/c03/s07_屠宰间.tscn +++ b/scene/ground/scene/c03/s07_屠宰间.tscn @@ -6,7 +6,6 @@ [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_t8dkf"] [ext_resource type="Texture2D" uid="uid://btdwnxrmipv4h" path="res://asset/art/scene/c03/s07_屠宰间/fg_屠宰间前景.png" id="5_0gnm3"] [ext_resource type="Texture2D" uid="uid://b05hg1dwbs8k1" path="res://asset/art/scene/c03/s07_屠宰间/人肉1.png" id="5_abvxk"] -[ext_resource type="AudioStream" uid="uid://cxivq3ngkwauh" path="res://asset/audio/effect/action/chop.ogg" id="5_olmed"] [ext_resource type="Texture2D" uid="uid://c3l0g3j3xfp2c" path="res://asset/art/scene/c03/s07_屠宰间/bg_屠宰间背景_门开左侧.png" id="5_t8dkf"] [ext_resource type="Script" uid="uid://dt8cfnm2og4h" path="res://scene/entity/general_sprite2d.gd" id="5_vyti6"] [ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="6_t8dkf"] @@ -28,6 +27,7 @@ [ext_resource type="Script" uid="uid://0wjaho6qkg6s" path="res://manager/event_manager/event_binder.gd" id="17_e1lvl"] [ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="18_5t01v"] [ext_resource type="SpriteFrames" uid="uid://b0icyhxpj16tv" path="res://asset/art/gif/c02_谢幕演出/c02_谢幕演出_frames.tres" id="19_2kdsp"] +[ext_resource type="AudioStream" uid="uid://dan2yo5gdwvc7" path="res://asset/audio/sfx/交互/第二章/剁肉_正常.ogg" id="20_14jxf"] [ext_resource type="AudioStream" uid="uid://be6xihynmvrwj" path="res://asset/audio/sfx/交互/第一章/谢幕演出_耳鸣加笑声.ogg" id="20_jjxk1"] [ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="21_qeidq"] [ext_resource type="Script" uid="uid://deysfedtyjlig" path="res://scene/ground/script/c03/s07_event胖子游戏结束演出.gd" id="22_fuomw"] @@ -249,7 +249,7 @@ debug_mov_animation = "地下呼吸帧" metadata/_custom_type_script = "uid://cphfob11f7atx" [node name="Sfx棺材怪切肉" type="AudioStreamPlayer2D" parent="Ground/DeployLayer/棺材怪切肉"] -stream = ExtResource("5_olmed") +stream = ExtResource("20_14jxf") volume_db = -5.0 max_distance = 500.0 attenuation = 2.0 diff --git a/scene/ground/scene/c03/s09_棺材房.tscn b/scene/ground/scene/c03/s09_棺材房.tscn index 0c3a1b37..5b35d8d3 100644 --- a/scene/ground/scene/c03/s09_棺材房.tscn +++ b/scene/ground/scene/c03/s09_棺材房.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=27 format=3 uid="uid://dfln301xllqpn"] +[gd_scene load_steps=28 format=3 uid="uid://dfln301xllqpn"] [ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_8vqn6"] [ext_resource type="Script" uid="uid://dxt2u1jajrm1g" path="res://scene/ground/scene/c03/s09_棺材房.gd" id="2_8vqn6"] @@ -16,6 +16,7 @@ [ext_resource type="AudioStream" uid="uid://cfsx6yqrw5gp4" path="res://asset/audio/sfx/交互/第二章/棺材怪呼吸.ogg" id="11_qr48f"] [ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="13_alans"] [ext_resource type="Script" uid="uid://0wjaho6qkg6s" path="res://manager/event_manager/event_binder.gd" id="13_fijc5"] +[ext_resource type="AudioStream" uid="uid://7n1bm65xrgip" path="res://asset/audio/sfx/交互/第二章/推开棺材盖板.ogg" id="13_qkb2a"] [ext_resource type="Texture2D" uid="uid://d3rl4pyal4bao" path="res://asset/art/scene/c03/s09_棺材房/角落胖子干尸.png" id="14_htuhx"] [ext_resource type="AudioStream" uid="uid://b8gsppgtp8tdk" path="res://asset/audio/sfx/旧版/lvping/footstep_earth_left.ogg" id="15_qr48f"] [ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="15_rcrkk"] @@ -468,6 +469,7 @@ quit_closeup_on_cancel = false sign_mark_offset = Vector2(0, -21.53) collision_width_and_x = Vector2(100.52, 0) first_interact_os_key = "c03_s09_棺材上刻的文字" +stream_success_replacement = ExtResource("13_qkb2a") [node name="EventBinder" type="Node" parent="Ground/DeployLayer/Closeup棺材特写"] script = ExtResource("13_fijc5") diff --git a/scene/ground/scene/c03/s10_胖子游戏1.tscn b/scene/ground/scene/c03/s10_胖子游戏1.tscn index 1b22f832..ece69af4 100644 --- a/scene/ground/scene/c03/s10_胖子游戏1.tscn +++ b/scene/ground/scene/c03/s10_胖子游戏1.tscn @@ -1,11 +1,11 @@ -[gd_scene load_steps=41 format=3 uid="uid://clgwc3jcqarpe"] +[gd_scene load_steps=40 format=3 uid="uid://clgwc3jcqarpe"] [ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_0c2p2"] [ext_resource type="Script" uid="uid://cs4ddcjq81c1d" path="res://scene/ground/scene/c03/s10_胖子游戏1.gd" id="2_tthij"] [ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_7f2bb"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_60xwi"] [ext_resource type="Texture2D" uid="uid://b22lmq2qtsmf1" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/最后的背景 循环贴图.png" id="5_a608f"] -[ext_resource type="AudioStream" uid="uid://cv6aivf1jcvd3" path="res://asset/audio/mixkit/mixkit-meat-hit.ogg" id="5_ogxtw"] +[ext_resource type="AudioStream" uid="uid://7ifxbe8eaxpj" path="res://asset/audio/sfx/交互/第二章/sfx_胖子被砸死.ogg" id="5_v1flc"] [ext_resource type="Texture2D" uid="uid://c3bmukyjja1id" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/前景.png" id="6_hno1l"] [ext_resource type="Texture2D" uid="uid://dd8vkws24b5vy" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉山后 可以和背景移动速度不一样 循环贴图.png" id="6_x0t6p"] [ext_resource type="Texture2D" uid="uid://dpt0s2ujvcjs5" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉山前 可以和背景移动速度不一样 循环贴图.png" id="7_8s7iq"] @@ -15,12 +15,10 @@ [ext_resource type="Script" uid="uid://d800iqh7jeqa" path="res://scene/ground/script/c03/胖子游戏棺材怪.gd" id="9_js8ld"] [ext_resource type="Texture2D" uid="uid://q3n7lw1ngoqh" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/遮罩 循环贴图.png" id="9_podki"] [ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="10_f57cq"] -[ext_resource type="AudioStream" uid="uid://b82bmxv4ehijj" path="res://asset/audio/effect/footstep/footstep_snow_002.ogg" id="10_js8ld"] [ext_resource type="Texture2D" uid="uid://da80qq8jl8mtp" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉块1.png" id="10_pr5np"] [ext_resource type="Texture2D" uid="uid://bieyil13hhemh" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉块2.png" id="11_3wrhx"] [ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="11_lljm3"] [ext_resource type="Texture2D" uid="uid://g3ohxmylc316" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉块3.png" id="12_jcaoy"] -[ext_resource type="AudioStream" uid="uid://cxivq3ngkwauh" path="res://asset/audio/effect/action/chop.ogg" id="12_whxhi"] [ext_resource type="Texture2D" uid="uid://2hvfbno7wgjl" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉块4.png" id="13_8ancs"] [ext_resource type="Texture2D" uid="uid://85unc5qju4kl" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉块5.png" id="14_bm1fy"] [ext_resource type="Texture2D" uid="uid://d1ufv2pl64lbx" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/手放桌子右.png" id="16_bm1fy"] @@ -33,6 +31,8 @@ [ext_resource type="Texture2D" uid="uid://0qkxvm0xiubu" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/落点2.png" id="20_whxhi"] [ext_resource type="SpriteFrames" uid="uid://dy8b8dmgv3mdd" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第二段/c03_胖子游戏第二段_frames.tres" id="21_4bvrv"] [ext_resource type="Texture2D" uid="uid://b7gyapghy3tsy" path="res://asset/art/neutral_point_light.png" id="22_v1flc"] +[ext_resource type="AudioStream" uid="uid://s1ogxxkfscc6" path="res://asset/audio/sfx/交互/第二章/棺材怪脚步.ogg" id="28_v1flc"] +[ext_resource type="AudioStream" uid="uid://b5cjl0a4iw1kd" path="res://asset/audio/sfx/交互/第二章/剁肉_诡异.ogg" id="30_v1flc"] [sub_resource type="Animation" id="Animation_v1flc"] length = 0.001 @@ -337,16 +337,6 @@ height = 293.0 [sub_resource type="CircleShape2D" id="CircleShape2D_lljm3"] radius = 74.0 -[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_f57cq"] -playback_mode = 1 -random_pitch = 1.1 -random_volume_offset_db = 1.0 -streams_count = 4 -stream_0/stream = ExtResource("10_js8ld") -stream_1/stream = ExtResource("10_js8ld") -stream_2/stream = ExtResource("10_js8ld") -stream_3/stream = ExtResource("10_js8ld") - [node name="S10" type="Node2D"] metadata/_edit_horizontal_guides_ = [98.0, 120.0, -120.0] metadata/_edit_vertical_guides_ = [1564.0] @@ -375,7 +365,7 @@ mode = "场景背景音" metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="Sfx肉山掉落" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"] -stream = ExtResource("5_ogxtw") +stream = ExtResource("5_v1flc") bus = &"game_sfx" script = ExtResource("4_60xwi") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" @@ -812,7 +802,7 @@ left_static_collision = NodePath("../../DeployLayer/左侧手/AnimatableBody2D/C right_static_collision = NodePath("../../DeployLayer/右侧手/AnimatableBody2D/CollisionShape2D") [node name="Sfx2D棺材怪脚步声" type="AudioStreamPlayer2D" parent="Ground/CanvasLayer/胖子游戏棺材怪"] -stream = SubResource("AudioStreamRandomizer_f57cq") +stream = ExtResource("28_v1flc") max_distance = 1000.0 bus = &"game_sfx" script = ExtResource("10_f57cq") @@ -821,7 +811,7 @@ loop_round_time = 0.4 metadata/_custom_type_script = "uid://wapo47a1oddf" [node name="Sfx2D棺材怪切刀" type="AudioStreamPlayer" parent="Ground/CanvasLayer/胖子游戏棺材怪"] -stream = ExtResource("12_whxhi") +stream = ExtResource("30_v1flc") bus = &"game_sfx" script = ExtResource("4_60xwi") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" diff --git a/scene/ground/scene/c03/s11_胖子游戏2.tscn b/scene/ground/scene/c03/s11_胖子游戏2.tscn index a37e697b..077e8321 100644 --- a/scene/ground/scene/c03/s11_胖子游戏2.tscn +++ b/scene/ground/scene/c03/s11_胖子游戏2.tscn @@ -4,7 +4,7 @@ [ext_resource type="Script" uid="uid://fejtkano6pn7" path="res://scene/ground/scene/c03/s11_胖子游戏2.gd" id="2_lfcjf"] [ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_hx2uj"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_0w5fd"] -[ext_resource type="AudioStream" uid="uid://cv6aivf1jcvd3" path="res://asset/audio/mixkit/mixkit-meat-hit.ogg" id="5_k5x30"] +[ext_resource type="AudioStream" uid="uid://7ifxbe8eaxpj" path="res://asset/audio/sfx/交互/第二章/sfx_胖子被砸死.ogg" id="5_novpu"] [ext_resource type="Texture2D" uid="uid://b1t0o8vqwjirh" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/山顶.png" id="5_wqrgj"] [ext_resource type="SpriteFrames" uid="uid://ca8u6yx6rv0xm" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/c03_胖子游戏第三段_frames.tres" id="6_c73iv"] [ext_resource type="Texture2D" uid="uid://w4ep0mqmkfo0" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/山顶洞口.png" id="6_hx2uj"] @@ -48,7 +48,7 @@ mode = "场景背景音" metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="Sfx肉山掉落" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"] -stream = ExtResource("5_k5x30") +stream = ExtResource("5_novpu") bus = &"game_sfx" script = ExtResource("4_0w5fd") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" diff --git a/scene/ground/script/c02/s03_closeup抓药游戏.tscn b/scene/ground/script/c02/s03_closeup抓药游戏.tscn index fb6e5c45..05c975ef 100644 --- a/scene/ground/script/c02/s03_closeup抓药游戏.tscn +++ b/scene/ground/script/c02/s03_closeup抓药游戏.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=64 format=3 uid="uid://cpxt082my5yac"] +[gd_scene load_steps=67 format=3 uid="uid://cpxt082my5yac"] [ext_resource type="Script" uid="uid://dj2b4f3soxki5" path="res://scene/ground/script/c02/s03_closeup抓药游戏.gd" id="1_0wbm3"] [ext_resource type="Texture2D" uid="uid://bs4npq7fnwjhw" path="res://asset/art/little_game/c03_药车游戏/背景底图.png" id="2_5ts1i"] @@ -38,8 +38,10 @@ [ext_resource type="PackedScene" uid="uid://bkk1rxx36ghrl" path="res://scene/entity/ux/hover_light_click_area.tscn" id="20_8lx66"] [ext_resource type="AudioStream" uid="uid://b1ka1gwskwqa6" path="res://asset/audio/effect/impact/impactGeneric_light_004.ogg" id="24_vnme8"] [ext_resource type="Texture2D" uid="uid://r2idykchn6re" path="res://asset/art/prop/c03/ux_药方.png" id="25_gonyp"] +[ext_resource type="AudioStream" uid="uid://bonqr647ontfw" path="res://asset/audio/sfx/交互/第二章/研磨_1.ogg" id="25_j44iq"] [ext_resource type="AudioStream" uid="uid://44slgncnt6sj" path="res://asset/audio/sfx/交互/第一章/sfx_手交互成功.ogg" id="25_vnme8"] -[ext_resource type="AudioStream" uid="uid://bs3hohq8pftc7" path="res://asset/audio/effect/impact/fire_impact_short.ogg" id="26_ctou3"] +[ext_resource type="AudioStream" uid="uid://bkq1m55iju0py" path="res://asset/audio/sfx/交互/第二章/研磨_2.ogg" id="26_6kw6k"] +[ext_resource type="AudioStream" uid="uid://bkqp0unck37u4" path="res://asset/audio/sfx/交互/第二章/研磨_3.ogg" id="27_l7ny1"] [ext_resource type="AudioStream" uid="uid://bb6xofiqjvid8" path="res://asset/audio/sfx/UI/关闭报纸.ogg" id="27_yndwj"] [ext_resource type="Texture2D" uid="uid://e4q2o6x1gtvo" path="res://asset/art/little_game/c03_药车游戏/完成药粉.png" id="29_26hqw"] [ext_resource type="Texture2D" uid="uid://due28st4b4e01" path="res://asset/art/little_game/c03_药车游戏/洞中药纸.png" id="30_8leof"] @@ -221,6 +223,12 @@ _data = { &"intro_grinding": SubResource("Animation_26hqw") } +[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_sxjfw"] +streams_count = 3 +stream_0/stream = ExtResource("25_j44iq") +stream_1/stream = ExtResource("26_6kw6k") +stream_2/stream = ExtResource("27_l7ny1") + [sub_resource type="Gradient" id="Gradient_aqv3v"] offsets = PackedFloat32Array(0.0291971, 0.782482, 1) colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0) @@ -428,7 +436,7 @@ script = ExtResource("6_0wbm3") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" [node name="SfxGrinding" type="AudioStreamPlayer" parent="."] -stream = ExtResource("26_ctou3") +stream = SubResource("AudioStreamRandomizer_sxjfw") bus = &"game_sfx" script = ExtResource("6_0wbm3") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" diff --git a/scene/ground/script/c02/s03_event第三章开幕.gd b/scene/ground/script/c02/s03_event第三章开幕.gd index 42c2614f..f8565656 100644 --- a/scene/ground/script/c02/s03_event第三章开幕.gd +++ b/scene/ground/script/c02/s03_event第三章开幕.gd @@ -37,8 +37,7 @@ func intro_c04() -> void: camera.apply_limits(limit) SceneManager.lock_player() $"Pro花盆掉落".play() - #TODO - SceneManager.pop_debug_dialog_info("音效", "花盆掉落") + Util.timer(0.3, $"Sfx花盆碎裂".play) await Util.wait(1.5) var pivot = $"CameraPivot" camera.focus_node(pivot, 3.0) diff --git a/scene/ground/script/c03/s04_closeup李氏纸人.gd b/scene/ground/script/c03/s04_closeup李氏纸人.gd index f410e3b0..728e0781 100644 --- a/scene/ground/script/c03/s04_closeup李氏纸人.gd +++ b/scene/ground/script/c03/s04_closeup李氏纸人.gd @@ -41,8 +41,6 @@ func _display_label(id: int) -> void: elif id == 1: label = $"求药/RichTextLabel" EventManager.set_stage_if_greater("handnote_c03_prop_drug", 1) - SceneManager.pop_debug_dialog_info("音效", "诡异哑巴音效") - #TODO $"Sfx诡异的哑巴音效".play() label.show() label.modulate.a = 0.0 diff --git a/scene/ground/script/c03/s04_closeup李氏纸人.tscn b/scene/ground/script/c03/s04_closeup李氏纸人.tscn index 80e6f240..98e6fb69 100644 --- a/scene/ground/script/c03/s04_closeup李氏纸人.tscn +++ b/scene/ground/script/c03/s04_closeup李氏纸人.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=29 format=3 uid="uid://t61o0vpm0e11"] +[gd_scene load_steps=30 format=3 uid="uid://t61o0vpm0e11"] [ext_resource type="Script" uid="uid://dvjh42hafpmg3" path="res://scene/ground/script/c03/s04_closeup李氏纸人.gd" id="1_nmxob"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="2_3rwht"] [ext_resource type="Texture2D" uid="uid://d2guuthhg87pb" path="res://asset/art/scene/c03/s04_李癞房间/李氏特写/背景.png" id="2_on24v"] [ext_resource type="Texture2D" uid="uid://cjc8ce4n5p3ct" path="res://asset/art/scene/c03/s04_李癞房间/李氏特写/人.png" id="3_qqxug"] [ext_resource type="AudioStream" uid="uid://has5y3j2yyp7" path="res://asset/audio/sfx/UI/纸条包裹钥匙.ogg" id="4_dwx4w"] +[ext_resource type="AudioStream" uid="uid://d2kgmkqnxyxx7" path="res://asset/audio/sfx/交互/第二章/李氏哑巴音效.ogg" id="4_f8b80"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_vcv6g"] [ext_resource type="Texture2D" uid="uid://bt2q4bbbai78d" path="res://asset/art/prop/c03/胖子的钥匙.png" id="5_ncmgt"] [ext_resource type="Texture2D" uid="uid://dkkc1cus5p3td" path="res://asset/art/scene/c03/s04_李癞房间/李氏特写/拿东西.png" id="5_vcv6g"] @@ -161,6 +162,7 @@ texture = ExtResource("3_qqxug") stretch_mode = 5 [node name="Sfx诡异的哑巴音效" type="AudioStreamPlayer" parent="."] +stream = ExtResource("4_f8b80") bus = &"game_sfx" script = ExtResource("4_vcv6g") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" diff --git a/scene/ground/script/c03/s04_event_李氏纸人相关.gd b/scene/ground/script/c03/s04_event_李氏纸人相关.gd index f5132fb2..d2bfd06e 100644 --- a/scene/ground/script/c03/s04_event_李氏纸人相关.gd +++ b/scene/ground/script/c03/s04_event_李氏纸人相关.gd @@ -36,5 +36,5 @@ func _setup_by_stage() -> void: # 纸人呼吸声 sfx_breath.play() - if stage == 3: + if stage >= 3: sfx_cough.easing_kill() diff --git a/scene/ground/script/c03/s06_closeup柜子后的洞.gd b/scene/ground/script/c03/s06_closeup柜子后的洞.gd index 47dadd73..e6bf4480 100644 --- a/scene/ground/script/c03/s06_closeup柜子后的洞.gd +++ b/scene/ground/script/c03/s06_closeup柜子后的洞.gd @@ -40,7 +40,8 @@ func _on_prop_picked(prop_key: String) -> void: SceneManager.pop_debug_dialog_info("美术&音效", "背后响起画外音「偷东西?」; 被胖子打晕演出") await Util.wait(0.5) Util.shake_layer(self, 2.0, 0.5, 4.0) - await Util.wait(3.0) + await Util.wait(2.0) + $"Sfx胖子靠近".play() # 画面抖动变红,玩家被打晕,画面变黑 $AnimationPlayer.play("bleeding_red") Util.shake_layer(self, 1.0) @@ -49,4 +50,5 @@ func _on_prop_picked(prop_key: String) -> void: await Util.wait(2.0) DialogueManager.show_dialogue_balloon(GlobalConfig.DIALOG_C03, "c03_s06_被胖子打晕") await Util.wait(3.0) + $"Sfx被击中耳鸣".global_play() SceneManager.get_ground_loader().transition_to_scene("c03_s08", "1") diff --git a/scene/ground/script/c03/s06_closeup柜子后的洞.tscn b/scene/ground/script/c03/s06_closeup柜子后的洞.tscn index 3096c9e1..88fb0e25 100644 --- a/scene/ground/script/c03/s06_closeup柜子后的洞.tscn +++ b/scene/ground/script/c03/s06_closeup柜子后的洞.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=25 format=3 uid="uid://5uqi3c3f4va1"] +[gd_scene load_steps=27 format=3 uid="uid://5uqi3c3f4va1"] [ext_resource type="Script" uid="uid://vkpp7mrdnh0s" path="res://scene/ground/script/c03/s06_closeup柜子后的洞.gd" id="1_84xhv"] [ext_resource type="Texture2D" uid="uid://by4ybfs7oi63f" path="res://asset/art/scene/c03/s06_胖子卧室/衣柜后的墙洞/报纸正常背景.png" id="2_84xhv"] @@ -8,7 +8,9 @@ [ext_resource type="PackedScene" uid="uid://bg7oictr1wgex" path="res://scene/little_game/general/draggable.tscn" id="3_65bkn"] [ext_resource type="PackedScene" uid="uid://bkk1rxx36ghrl" path="res://scene/entity/ux/hover_light_click_area.tscn" id="3_ko8md"] [ext_resource type="Texture2D" uid="uid://bv4wg362asw3f" path="res://asset/art/scene/c03/s06_胖子卧室/衣柜后的墙洞/报纸.png" id="3_mcv7n"] +[ext_resource type="AudioStream" uid="uid://hhs60fma61il" path="res://asset/audio/sfx/交互/第二章/胖子靠近.ogg" id="4_6qnaw"] [ext_resource type="Texture2D" uid="uid://b0nndec3m6b73" path="res://asset/art/scene/c03/s06_胖子卧室/衣柜后的墙洞/报纸折起来背景.png" id="4_65bkn"] +[ext_resource type="AudioStream" uid="uid://pr6y27kaf7km" path="res://asset/audio/sfx/交互/第二章/击中耳鸣.ogg" id="4_651rf"] [ext_resource type="Texture2D" uid="uid://b8f54mbw7ftnm" path="res://asset/art/scene/c03/s06_胖子卧室/衣柜后的墙洞/钥匙.png" id="5_6ncw3"] [ext_resource type="Texture2D" uid="uid://dbntx57uox7e0" path="res://asset/art/scene/c03/s06_胖子卧室/衣柜后的墙洞/报纸折起来.png" id="5_mbut7"] [ext_resource type="Texture2D" uid="uid://clxdv18v8rr0r" path="res://asset/art/scene/c03/s06_胖子卧室/衣柜后的墙洞/l_刀柄.png" id="5_ur3qk"] @@ -84,6 +86,18 @@ bus = &"game_sfx" script = ExtResource("2_ur3qk") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" +[node name="Sfx胖子靠近" type="AudioStreamPlayer" parent="."] +stream = ExtResource("4_6qnaw") +bus = &"game_sfx" +script = ExtResource("2_ur3qk") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + +[node name="Sfx被击中耳鸣" type="AudioStreamPlayer" parent="."] +stream = ExtResource("4_651rf") +bus = &"game_sfx" +script = ExtResource("2_ur3qk") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_6qnaw")