部分音效更新
This commit is contained in:
parent
2f07ffbb8f
commit
3e6d396d8e
BIN
asset/audio/sfx/交互/第二章/sfx_吃肉.ogg
Normal file
BIN
asset/audio/sfx/交互/第二章/sfx_吃肉.ogg
Normal file
Binary file not shown.
19
asset/audio/sfx/交互/第二章/sfx_吃肉.ogg.import
Normal file
19
asset/audio/sfx/交互/第二章/sfx_吃肉.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://bmtinnj0soddh"
|
||||||
|
path="res://.godot/imported/sfx_吃肉.ogg-4989e8cbabd74529f5c04ccf66562458.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://asset/audio/sfx/交互/第二章/sfx_吃肉.ogg"
|
||||||
|
dest_files=["res://.godot/imported/sfx_吃肉.ogg-4989e8cbabd74529f5c04ccf66562458.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
asset/audio/sfx/交互/第二章/sfx_山体崩塌.ogg
Normal file
BIN
asset/audio/sfx/交互/第二章/sfx_山体崩塌.ogg
Normal file
Binary file not shown.
19
asset/audio/sfx/交互/第二章/sfx_山体崩塌.ogg.import
Normal file
19
asset/audio/sfx/交互/第二章/sfx_山体崩塌.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://c65vyjloanxpy"
|
||||||
|
path="res://.godot/imported/sfx_山体崩塌.ogg-a7788956733c9c2206cb302a2596eeb4.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://asset/audio/sfx/交互/第二章/sfx_山体崩塌.ogg"
|
||||||
|
dest_files=["res://.godot/imported/sfx_山体崩塌.ogg-a7788956733c9c2206cb302a2596eeb4.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
asset/audio/sfx/交互/第二章/sfx_恐怖手.ogg
Normal file
BIN
asset/audio/sfx/交互/第二章/sfx_恐怖手.ogg
Normal file
Binary file not shown.
19
asset/audio/sfx/交互/第二章/sfx_恐怖手.ogg.import
Normal file
19
asset/audio/sfx/交互/第二章/sfx_恐怖手.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://bywik2mrv1qep"
|
||||||
|
path="res://.godot/imported/sfx_恐怖手.ogg-93560dbe5ddd97af805f08f8012da0af.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://asset/audio/sfx/交互/第二章/sfx_恐怖手.ogg"
|
||||||
|
dest_files=["res://.godot/imported/sfx_恐怖手.ogg-93560dbe5ddd97af805f08f8012da0af.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=40 format=3 uid="uid://clgwc3jcqarpe"]
|
[gd_scene load_steps=41 format=3 uid="uid://clgwc3jcqarpe"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_0c2p2"]
|
[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="Script" uid="uid://cs4ddcjq81c1d" path="res://scene/ground/scene/c03/s10_胖子游戏1.gd" id="2_tthij"]
|
||||||
@ -6,6 +6,7 @@
|
|||||||
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_60xwi"]
|
[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="Texture2D" uid="uid://b22lmq2qtsmf1" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/最后的背景 循环贴图.png" id="5_a608f"]
|
||||||
[ext_resource type="AudioStream" uid="uid://df2ep7ae3gutx" path="res://asset/audio/sfx/交互/第二章/sfx_肉掉下来.ogg" id="5_v1flc"]
|
[ext_resource type="AudioStream" uid="uid://df2ep7ae3gutx" path="res://asset/audio/sfx/交互/第二章/sfx_肉掉下来.ogg" id="5_v1flc"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://bywik2mrv1qep" path="res://asset/audio/sfx/交互/第二章/sfx_恐怖手.ogg" id="6_4ialo"]
|
||||||
[ext_resource type="Texture2D" uid="uid://c3bmukyjja1id" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/前景.png" id="6_hno1l"]
|
[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://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"]
|
[ext_resource type="Texture2D" uid="uid://dpt0s2ujvcjs5" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/肉山前 可以和背景移动速度不一样 循环贴图.png" id="7_8s7iq"]
|
||||||
@ -370,6 +371,18 @@ bus = &"game_sfx"
|
|||||||
script = ExtResource("4_60xwi")
|
script = ExtResource("4_60xwi")
|
||||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||||
|
|
||||||
|
[node name="Sfx恐怖手" type="AudioStreamPlayer2D" parent="Ground/AnimationPlayer" index="2"]
|
||||||
|
position = Vector2(8921, 11)
|
||||||
|
stream = ExtResource("6_4ialo")
|
||||||
|
volume_db = 10.0
|
||||||
|
autoplay = true
|
||||||
|
max_distance = 500.0
|
||||||
|
attenuation = 2.0
|
||||||
|
bus = &"game_sfx"
|
||||||
|
script = ExtResource("10_f57cq")
|
||||||
|
loop = true
|
||||||
|
metadata/_custom_type_script = "uid://wapo47a1oddf"
|
||||||
|
|
||||||
[node name="BGSprite2D" parent="Ground" index="2"]
|
[node name="BGSprite2D" parent="Ground" index="2"]
|
||||||
light_mask = 5
|
light_mask = 5
|
||||||
offset = Vector2(0, -158)
|
offset = Vector2(0, -158)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=20 format=3 uid="uid://shgrg8qcr1cu"]
|
[gd_scene load_steps=22 format=3 uid="uid://shgrg8qcr1cu"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_lfcjf"]
|
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_lfcjf"]
|
||||||
[ext_resource type="Script" uid="uid://fejtkano6pn7" path="res://scene/ground/scene/c03/s11_胖子游戏2.gd" id="2_lfcjf"]
|
[ext_resource type="Script" uid="uid://fejtkano6pn7" path="res://scene/ground/scene/c03/s11_胖子游戏2.gd" id="2_lfcjf"]
|
||||||
@ -8,7 +8,9 @@
|
|||||||
[ext_resource type="Texture2D" uid="uid://b1t0o8vqwjirh" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/山顶.png" id="5_wqrgj"]
|
[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="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"]
|
[ext_resource type="Texture2D" uid="uid://w4ep0mqmkfo0" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/山顶洞口.png" id="6_hx2uj"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://bywik2mrv1qep" path="res://asset/audio/sfx/交互/第二章/sfx_恐怖手.ogg" id="6_p0emk"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cyyu18eets1f7" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/效果图.png" id="6_srx6n"]
|
[ext_resource type="Texture2D" uid="uid://cyyu18eets1f7" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/效果图.png" id="6_srx6n"]
|
||||||
|
[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="7_18lag"]
|
||||||
[ext_resource type="Script" uid="uid://cphfob11f7atx" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.gd" id="7_hx2uj"]
|
[ext_resource type="Script" uid="uid://cphfob11f7atx" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.gd" id="7_hx2uj"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="9_0w5fd"]
|
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="9_0w5fd"]
|
||||||
[ext_resource type="Texture2D" uid="uid://c3gwj6ap8w7cj" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/山顶文物.png" id="10_lyjg2"]
|
[ext_resource type="Texture2D" uid="uid://c3gwj6ap8w7cj" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第三段/山顶文物.png" id="10_lyjg2"]
|
||||||
@ -53,6 +55,17 @@ bus = &"game_sfx"
|
|||||||
script = ExtResource("4_0w5fd")
|
script = ExtResource("4_0w5fd")
|
||||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||||
|
|
||||||
|
[node name="Sfx恐怖手" type="AudioStreamPlayer2D" parent="Ground/AnimationPlayer" index="2"]
|
||||||
|
position = Vector2(1228, 60)
|
||||||
|
stream = ExtResource("6_p0emk")
|
||||||
|
autoplay = true
|
||||||
|
max_distance = 500.0
|
||||||
|
attenuation = 2.0
|
||||||
|
bus = &"game_sfx"
|
||||||
|
script = ExtResource("7_18lag")
|
||||||
|
loop = true
|
||||||
|
metadata/_custom_type_script = "uid://wapo47a1oddf"
|
||||||
|
|
||||||
[node name="BGSprite2D" parent="Ground" index="2"]
|
[node name="BGSprite2D" parent="Ground" index="2"]
|
||||||
light_mask = 5
|
light_mask = 5
|
||||||
texture = ExtResource("5_wqrgj")
|
texture = ExtResource("5_wqrgj")
|
||||||
|
@ -66,7 +66,9 @@ func _on_eat_meat_triggered(node) -> void:
|
|||||||
_disable_wall_on_meat(node)
|
_disable_wall_on_meat(node)
|
||||||
_tween_display_label(node)
|
_tween_display_label(node)
|
||||||
var player = SceneManager.get_player()
|
var player = SceneManager.get_player()
|
||||||
|
# 吃肉动作
|
||||||
SceneManager.lock_player(0, 8)
|
SceneManager.lock_player(0, 8)
|
||||||
|
$"Sfx吃肉".play()
|
||||||
var tween = create_tween()
|
var tween = create_tween()
|
||||||
tween.tween_interval(0.9)
|
tween.tween_interval(0.9)
|
||||||
tween.tween_property(node, "self_modulate:a", 0.0, 1.0)
|
tween.tween_property(node, "self_modulate:a", 0.0, 1.0)
|
||||||
@ -154,8 +156,6 @@ func collapse() -> void:
|
|||||||
await tween.finished
|
await tween.finished
|
||||||
collapse_sprite.play()
|
collapse_sprite.play()
|
||||||
$"Sfx山塌了".play()
|
$"Sfx山塌了".play()
|
||||||
#TODO
|
|
||||||
SceneManager.pop_debug_dialog_info("音效", "山塌了")
|
|
||||||
await Util.wait(1.5)
|
await Util.wait(1.5)
|
||||||
camera.shake_camera()
|
camera.shake_camera()
|
||||||
tween = create_tween()
|
tween = create_tween()
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
[gd_scene load_steps=25 format=3 uid="uid://cxabqg87g4vxc"]
|
[gd_scene load_steps=27 format=3 uid="uid://cxabqg87g4vxc"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_ly8ge"]
|
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_ly8ge"]
|
||||||
[ext_resource type="Script" uid="uid://f4uampm47832" path="res://scene/ground/scene/c03/s12_胖子游戏3.gd" id="2_c01lu"]
|
[ext_resource type="Script" uid="uid://f4uampm47832" path="res://scene/ground/scene/c03/s12_胖子游戏3.gd" id="2_c01lu"]
|
||||||
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_h404e"]
|
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_h404e"]
|
||||||
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_fjio5"]
|
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_fjio5"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://c65vyjloanxpy" path="res://asset/audio/sfx/交互/第二章/sfx_山体崩塌.ogg" id="5_7x1vi"]
|
||||||
[ext_resource type="AudioStream" uid="uid://bhaws2ungqaf5" path="res://asset/audio/sfx/交互/角色/sfx_哼歌.ogg" id="5_47wdn"]
|
[ext_resource type="AudioStream" uid="uid://bhaws2ungqaf5" path="res://asset/audio/sfx/交互/角色/sfx_哼歌.ogg" id="5_47wdn"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://bmtinnj0soddh" path="res://asset/audio/sfx/交互/第二章/sfx_吃肉.ogg" id="6_sul0a"]
|
||||||
[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="6_vyyx8"]
|
[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="6_vyyx8"]
|
||||||
[ext_resource type="Texture2D" uid="uid://jimhy0dgkeoi" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/地面.png" id="9_fjio5"]
|
[ext_resource type="Texture2D" uid="uid://jimhy0dgkeoi" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/地面.png" id="9_fjio5"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b22lmq2qtsmf1" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/最后的背景 循环贴图.png" id="9_mr0pm"]
|
[ext_resource type="Texture2D" uid="uid://b22lmq2qtsmf1" path="res://asset/art/gif/c03_胖子游戏/c03_胖子游戏第一段/最后的背景 循环贴图.png" id="9_mr0pm"]
|
||||||
@ -136,11 +138,19 @@ mode = "场景背景音"
|
|||||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||||
|
|
||||||
[node name="Sfx山塌了" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"]
|
[node name="Sfx山塌了" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"]
|
||||||
|
stream = ExtResource("5_7x1vi")
|
||||||
|
volume_db = 24.0
|
||||||
bus = &"game_sfx"
|
bus = &"game_sfx"
|
||||||
script = ExtResource("4_fjio5")
|
script = ExtResource("4_fjio5")
|
||||||
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||||
|
|
||||||
[node name="Sfx小蝉哼歌" type="AudioStreamPlayer2D" parent="Ground/AnimationPlayer" index="2"]
|
[node name="Sfx吃肉" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="2"]
|
||||||
|
stream = ExtResource("6_sul0a")
|
||||||
|
bus = &"game_sfx"
|
||||||
|
script = ExtResource("4_fjio5")
|
||||||
|
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
|
||||||
|
|
||||||
|
[node name="Sfx小蝉哼歌" type="AudioStreamPlayer2D" parent="Ground/AnimationPlayer" index="3"]
|
||||||
position = Vector2(7155, 89)
|
position = Vector2(7155, 89)
|
||||||
stream = ExtResource("5_47wdn")
|
stream = ExtResource("5_47wdn")
|
||||||
volume_db = 20.0
|
volume_db = 20.0
|
||||||
|
Loading…
Reference in New Issue
Block a user