mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-02 16:22:14 +08:00
feat: 为角色添加显示名称并完善面板功能
为熊、公鸡、母鸡等角色添加displayName属性 修改FullscreenPanelBase及相关面板以支持参数传递 完善GameOver面板显示凶手信息功能 调整部分角色的节点索引和状态栏位置
This commit is contained in:
@@ -33,13 +33,14 @@ radius = 40.0
|
||||
|
||||
[node name="Hen" instance=ExtResource("1_twxai")]
|
||||
script = ExtResource("2_8u5a0")
|
||||
displayName = "母鸡"
|
||||
drops = Array[int]([0, 1])
|
||||
dropCounts = Array[Vector2]([Vector2(6, 12), Vector2(4, 8)])
|
||||
|
||||
[node name="hurt" parent="sounds" index="3"]
|
||||
stream = ExtResource("3_ojyt7")
|
||||
|
||||
[node name="texture" parent="." index="1"]
|
||||
[node name="texture" parent="." index="2"]
|
||||
sprite_frames = SubResource("SpriteFrames_xwexj")
|
||||
animation = &"walk"
|
||||
|
||||
@@ -48,6 +49,6 @@ shape = SubResource("CircleShape2D_0uubu")
|
||||
|
||||
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
||||
|
||||
[node name="statebar" parent="." index="2" node_paths=PackedStringArray("entity")]
|
||||
[node name="statebar" parent="." index="3" node_paths=PackedStringArray("entity")]
|
||||
position = Vector2(0, -114)
|
||||
entity = NodePath("..")
|
||||
|
||||
Reference in New Issue
Block a user