Health in HUD

This commit is contained in:
Marco 2025-01-28 09:17:35 +01:00
commit 4b4cbc037a
5 changed files with 45 additions and 10 deletions

View file

@ -6,18 +6,21 @@
[node name="HUD" type="CanvasLayer"]
script = ExtResource("1_m0hb0")
[node name="Health" type="Label" parent="."]
[node name="HealthLabel" type="Label" parent="."]
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -78.0
offset_right = 305.0
offset_left = 1.0
offset_top = -160.0
offset_right = 306.0
offset_bottom = -82.0
grow_vertical = 0
theme_override_fonts/font = ExtResource("2_0xmx2")
theme_override_font_sizes/font_size = 64
theme_override_font_sizes/font_size = 12
text = "100/100"
[node name="Message" type="Label" parent="."]
[node name="GameOver" type="Label" parent="."]
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5

View file

@ -424,7 +424,6 @@ Target = NodePath("../Factory Tilemaps/HorizontalDoor")
RequiresKeycard = false
[node name="HUD" parent="." instance=ExtResource("22_krk0o")]
visible = false
[node name="CameraTarget" type="Node2D" parent="."]
position = Vector2(-791, -153)