mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
fix(UI): 修正ColorBar默认值和DamageLabel文本显示
refactor(Bullets): 调整BigLaser和Diamond的旋转插值系数 feat(EntityBase): 添加掉落物提示概率控制 style(BossBar): 添加currentValue默认值和label对齐方式 docs(GameRule): 新增掉落物提示概率配置项
This commit is contained in:
@@ -32,6 +32,7 @@ offset_right = 0.0
|
||||
offset_bottom = -40.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
currentValue = 0.0
|
||||
|
||||
[node name="panel" type="PanelContainer" parent="health"]
|
||||
layout_mode = 1
|
||||
@@ -44,6 +45,7 @@ theme_override_styles/panel = SubResource("StyleBoxEmpty_ar00p")
|
||||
|
||||
[node name="label" type="HBoxContainer" parent="health/panel"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="name" type="Label" parent="health/panel/label"]
|
||||
unique_name_in_owner = true
|
||||
|
||||
@@ -36,7 +36,7 @@ anchors_preset = 0
|
||||
offset_right = 100.0
|
||||
offset_bottom = 10.0
|
||||
script = ExtResource("1_a106p")
|
||||
currentValue = 0.0
|
||||
currentValue = 100.0
|
||||
backBox = SubResource("StyleBoxFlat_kf2fc")
|
||||
middleBox1 = SubResource("StyleBoxFlat_sh754")
|
||||
middleBox2 = SubResource("StyleBoxFlat_8n8i8")
|
||||
|
||||
@@ -111,6 +111,7 @@ _data = {
|
||||
}
|
||||
|
||||
[node name="DamageLabel" type="Node2D"]
|
||||
z_index = 1
|
||||
script = ExtResource("1_0q15u")
|
||||
color1 = Color(1, 1, 1, 1)
|
||||
|
||||
@@ -122,7 +123,7 @@ offset_left = -100.0
|
||||
offset_top = -100.0
|
||||
offset_right = 100.0
|
||||
offset_bottom = 100.0
|
||||
text = "114514"
|
||||
text = "%dmg%"
|
||||
label_settings = SubResource("LabelSettings_valp2")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
Reference in New Issue
Block a user