GodotCourse/week6/updated_project/scenes/ui.tscn

46 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2024-08-19 19:27:40 +00:00
[gd_scene load_steps=3 format=3 uid="uid://w7al4r6vnaye"]
2024-08-19 18:34:28 +00:00
[ext_resource type="Script" path="res://scripts/ui.gd" id="1_fbdq6"]
2024-08-19 19:27:40 +00:00
[ext_resource type="FontFile" uid="uid://dt362md65hx83" path="res://graphics/fonts/PixelOperator8.ttf" id="2_gopna"]
2024-08-19 18:34:28 +00:00
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_fbdq6")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 23.0
grow_horizontal = 2
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Health" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer2"]
layout_mode = 2
2024-08-19 19:27:40 +00:00
theme_override_fonts/font = ExtResource("2_gopna")
theme_override_font_sizes/font_size = 8
2024-08-19 18:34:28 +00:00
text = "Health : 100"
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Coins" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer"]
layout_mode = 2
2024-08-19 19:27:40 +00:00
theme_override_fonts/font = ExtResource("2_gopna")
theme_override_font_sizes/font_size = 8
2024-08-19 18:34:28 +00:00
text = "Coins : 0
"
horizontal_alignment = 2