1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-07-10 12:02:54 +08:00

feat(相机管理): 添加CameraManager类并实现玩家跟随

refactor(物品展示): 修改ItemShow状态机自动隐藏逻辑

feat(游戏逻辑): 添加玩家死亡时的游戏结束界面

style(场景配置): 调整World场景中相机节点位置和偏移

feat(UI): 为ItemShow添加显示动画并更新动画库
This commit is contained in:
2025-08-28 08:15:18 +08:00
parent 857a224f6f
commit 307e3dd63f
7 changed files with 80 additions and 7 deletions
+2 -3
View File
@@ -18,11 +18,10 @@ position = Vector2(468, 320)
texture = ExtResource("6_p0nkj")
[node name="rooster" parent="." groups=["players"] instance=ExtResource("3_5ui6q")]
position = Vector2(394, 274)
[node name="camera" type="Camera2D" parent="rooster"]
[node name="camera" type="Camera2D" parent="."]
process_mode = 3
position = Vector2(0, -100)
offset = Vector2(0, -80)
process_callback = 0
position_smoothing_enabled = true
script = ExtResource("5_mk7bv")