cirnogodot/Scenes/hud.tscn
2024-08-27 22:12:47 +02:00

38 lines
1 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://dkwi1hu1bixoe"]
[ext_resource type="Script" path="res://Scripts/Hud.cs" id="1_4c8ar"]
[ext_resource type="FontFile" uid="uid://ccm3u37q1hvux" path="res://fonts/Xolonium-Regular.ttf" id="2_ip2r5"]
[node name="HUD" type="CanvasLayer"]
script = ExtResource("1_4c8ar")
[node name="Health" type="Label" parent="."]
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -78.0
offset_right = 305.0
grow_vertical = 0
theme_override_fonts/font = ExtResource("2_ip2r5")
theme_override_font_sizes/font_size = 64
text = "100/100"
[node name="Message" type="Label" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -217.0
offset_top = -39.0
offset_right = 217.0
offset_bottom = 39.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("2_ip2r5")
theme_override_font_sizes/font_size = 64
text = "GAME OVER"
[node name="MessageTimer" type="Timer" parent="."]
wait_time = 2.0
one_shot = true