1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-07-03 08:42:13 +08:00

feat(角色): 添加狗角色音效和攻击冷却随机化

添加狗角色的受伤音效文件并配置导入设置
修改狗的攻击冷却时间为3000-5000毫秒随机值
调整狗角色的受伤音效播放几率为30%
为狗角色添加碰撞检测形状
This commit is contained in:
2025-11-16 14:42:48 +08:00
parent 9e77b720d6
commit b7638fa9b6
9 changed files with 96 additions and 3 deletions
@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://cgnqvldnkxjtr"
path="res://.godot/imported/doghurt2.wav-49befa9aa9ef77b97ab11c520f8eb9c1.sample"
[deps]
source_file="res://resources/sounds/effect/doghurt2.wav"
dest_files=["res://.godot/imported/doghurt2.wav-49befa9aa9ef77b97ab11c520f8eb9c1.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2