mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
feat(相机): 改进相机跟随和偏移处理
- 将相机偏移从offset改为constantOffset属性 - 添加鼠标位置对相机偏移的影响 - 为Rooster角色添加脚步粒子效果 - 调整红水晶武器的攻击力从40提升到60 - 移除调试相关的debugRebuild属性
This commit is contained in:
@@ -80,10 +80,10 @@ spawn_path = NodePath("..")
|
||||
|
||||
[node name="camera" type="Camera2D" parent="."]
|
||||
process_mode = 3
|
||||
offset = Vector2(0, -80)
|
||||
process_callback = 0
|
||||
position_smoothing_enabled = true
|
||||
script = ExtResource("5_mk7bv")
|
||||
constantOffset = Vector2(0, -80)
|
||||
|
||||
[node name="animator" type="AnimationPlayer" parent="camera"]
|
||||
unique_name_in_owner = true
|
||||
|
||||
Reference in New Issue
Block a user