FebruaryGame/februarygodotgame/scenes/ui.tscn
2025-04-07 14:35:45 -04:00

79 lines
2.6 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bv622vne87h0h"]
[ext_resource type="Script" uid="uid://ye0jb2lxcf0f" path="res://scripts/ui.gd" id="1_1d8ed"]
[ext_resource type="FontFile" uid="uid://dyhcvk7xwyipu" path="res://assets/fonts/PixelOperator8.ttf" id="2_u7ep1"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r7bnv"]
bg_color = Color(0.24807, 0.694112, 0.499273, 1)
[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_1d8ed")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/MarginContainer"]
layout_mode = 2
[node name="health" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer"]
texture_filter = 1
layout_mode = 2
theme_override_fonts/font = ExtResource("2_u7ep1")
theme_override_font_sizes/font_size = 8
text = "Health"
[node name="healthProgress" type="ProgressBar" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer"]
texture_filter = 1
layout_mode = 2
show_percentage = false
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/MarginContainer2"]
layout_mode = 2
[node name="time" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer2/VBoxContainer"]
texture_filter = 1
layout_mode = 2
theme_override_fonts/font = ExtResource("2_u7ep1")
theme_override_font_sizes/font_size = 8
text = "time"
horizontal_alignment = 1
[node name="timeProgress" type="ProgressBar" parent="VBoxContainer/HBoxContainer/MarginContainer2/VBoxContainer"]
layout_mode = 2
theme_override_styles/fill = SubResource("StyleBoxFlat_r7bnv")
value = 100.0
show_percentage = false
[node name="MarginContainer3" type="MarginContainer" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="coins" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer3"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_u7ep1")
theme_override_font_sizes/font_size = 8
text = "coins"
horizontal_alignment = 2