1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

fix: 修正能量变化事件发射参数并调整动画时间

修改EntityBase.gd中的energyChanged事件发射,增加false参数表示非自然恢复
调整World.tscn中动画的关键帧时间和数值,使动画更流畅
This commit is contained in:
2025-09-06 12:14:21 +08:00
parent 294ff29eea
commit 0d9fe8c0cc
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -43,8 +43,8 @@ tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0, 0, 0),
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1.25, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 0.5, 3)
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 2, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 0.5, 2)
}
tracks/1/type = "bezier"
tracks/1/imported = false
@@ -54,8 +54,8 @@ tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0, 0, 0),
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1.25, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 0.5, 3)
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 2, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 0.5, 2)
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_44ixa"]