血量显示在玩家头顶

This commit is contained in:
2026-09-22 17:51:52 +08:00
parent b11da48e23
commit 414fcafe1d
5 changed files with 61 additions and 35 deletions
+6 -7
View File
@@ -44,11 +44,10 @@ surface_material_override/0 = SubResource("StandardMaterial3D_yw30f")
[node name="Sync" type="MultiplayerSynchronizer" parent="." unique_id=1979575210]
replication_config = ExtResource("2_rkbax")
[node name="Hud" type="CanvasLayer" parent="." unique_id=425326662]
[node name="HealthLabel" type="Label" parent="Hud" unique_id=348125801]
offset_left = 16.0
offset_top = 56.0
offset_right = 17.0
offset_bottom = 79.0
[node name="HealthLabel" type="Label3D" parent="." unique_id=300336561]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.05, 0)
billboard = 1
no_depth_test = true
text = "HP 100 / 100"
font_size = 64
outline_size = 8