brackeys-12/ui/UI.tscn

143 lines
4.5 KiB
Text
Raw Normal View History

2024-09-14 01:24:54 +00:00
[gd_scene load_steps=7 format=3 uid="uid://bxctpr0tfqidf"]
2024-09-10 13:03:27 +00:00
2024-09-14 01:24:54 +00:00
[ext_resource type="Theme" uid="uid://d035h7upxrw3h" path="res://theme.tres" id="1_fcqle"]
[ext_resource type="Texture2D" uid="uid://cd205j7rs5ph7" path="res://ui/buildingmeny.png" id="1_xpu1e"]
2024-09-14 01:16:14 +00:00
[ext_resource type="Script" path="res://ui/counters.gd" id="2_ei01o"]
2024-09-14 01:24:54 +00:00
[ext_resource type="Texture2D" uid="uid://6bpdb3npejtx" path="res://ui/stone_icon.png" id="2_vo570"]
[ext_resource type="Texture2D" uid="uid://byx0ivnwice1e" path="res://ui/wood_icon.png" id="3_ohuq3"]
[ext_resource type="Texture2D" uid="uid://rtrb5p3o61i4" path="res://ui/essence_icon.png" id="4_7fjj4"]
2024-09-10 13:03:27 +00:00
[node name="UI" type="MarginContainer"]
2024-09-14 01:16:14 +00:00
custom_minimum_size = Vector2(640, 360)
2024-09-10 13:03:27 +00:00
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 44.0
grow_horizontal = 2
2024-09-14 01:24:54 +00:00
theme = ExtResource("1_fcqle")
2024-09-10 13:03:27 +00:00
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2
[node name="LeftCounters" type="HBoxContainer" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
2024-09-14 01:16:14 +00:00
[node name="Resources" type="MarginContainer" parent="HBoxContainer/LeftCounters"]
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-14 01:16:14 +00:00
[node name="Background" type="NinePatchRect" parent="HBoxContainer/LeftCounters/Resources"]
custom_minimum_size = Vector2(168, 24)
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-14 01:16:14 +00:00
size_flags_vertical = 0
texture = ExtResource("1_xpu1e")
region_rect = Rect2(-0.458088, -0.349636, 186.046, 47.2991)
[node name="StoneIcon" type="TextureRect" parent="HBoxContainer/LeftCounters/Resources/Background"]
layout_mode = 0
offset_left = 10.0
offset_right = 34.0
offset_bottom = 24.0
texture = ExtResource("2_vo570")
expand_mode = 2
[node name="WoodIcon" type="TextureRect" parent="HBoxContainer/LeftCounters/Resources/Background"]
layout_mode = 0
offset_left = 65.0
offset_right = 89.0
offset_bottom = 24.0
texture = ExtResource("3_ohuq3")
expand_mode = 2
[node name="EssenceIcon" type="TextureRect" parent="HBoxContainer/LeftCounters/Resources/Background"]
layout_mode = 0
offset_left = 120.0
offset_right = 144.0
offset_bottom = 24.0
texture = ExtResource("4_7fjj4")
expand_mode = 2
[node name="StoneCountLabel" type="Label" parent="HBoxContainer/LeftCounters/Resources/Background"]
layout_mode = 2
offset_right = 55.0
offset_bottom = 24.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
text = "000"
horizontal_alignment = 2
vertical_alignment = 1
script = ExtResource("2_ei01o")
2024-09-14 01:31:14 +00:00
key = "stone"
2024-09-10 13:03:27 +00:00
2024-09-14 01:16:14 +00:00
[node name="WoodCountLabel" type="Label" parent="HBoxContainer/LeftCounters/Resources/Background"]
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-14 01:16:14 +00:00
offset_left = 55.0
offset_right = 110.0
offset_bottom = 24.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
text = "000"
horizontal_alignment = 2
vertical_alignment = 1
script = ExtResource("2_ei01o")
2024-09-14 01:31:14 +00:00
key = "wood"
2024-09-14 01:16:14 +00:00
[node name="EssenceCountLabel" type="Label" parent="HBoxContainer/LeftCounters/Resources/Background"]
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-14 01:16:14 +00:00
offset_left = 110.0
offset_right = 165.0
offset_bottom = 24.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
text = "000"
2024-09-10 13:03:27 +00:00
horizontal_alignment = 2
2024-09-14 01:16:14 +00:00
vertical_alignment = 1
2024-09-10 13:03:27 +00:00
script = ExtResource("2_ei01o")
2024-09-14 01:31:14 +00:00
key = "essence"
2024-09-10 13:03:27 +00:00
[node name="RightCounters" type="VBoxContainer" parent="HBoxContainer"]
layout_direction = 2
layout_mode = 2
2024-09-14 01:16:14 +00:00
[node name="RightCounters" type="MarginContainer" parent="HBoxContainer/RightCounters"]
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-14 01:16:14 +00:00
[node name="Background" type="NinePatchRect" parent="HBoxContainer/RightCounters/RightCounters"]
custom_minimum_size = Vector2(113, 24)
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-14 01:16:14 +00:00
texture = ExtResource("1_xpu1e")
region_rect = Rect2(1.19859, 0.999939, 182.287, 45.1203)
[node name="PopulationIcon" type="TextureRect" parent="HBoxContainer/RightCounters/RightCounters/Background"]
layout_mode = 0
offset_left = 10.0
offset_right = 34.0
offset_bottom = 24.0
expand_mode = 2
[node name="FloodLevelIcon" type="TextureRect" parent="HBoxContainer/RightCounters/RightCounters/Background"]
layout_mode = 0
offset_left = 65.0
offset_right = 89.0
offset_bottom = 24.0
expand_mode = 2
[node name="PopulationCountLabel" type="Label" parent="HBoxContainer/RightCounters/RightCounters/Background"]
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-14 01:16:14 +00:00
offset_right = 55.0
offset_bottom = 24.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
text = "000"
2024-09-10 13:03:27 +00:00
horizontal_alignment = 2
2024-09-14 01:16:14 +00:00
vertical_alignment = 1
script = ExtResource("2_ei01o")
2024-09-14 01:31:14 +00:00
key = "population"
2024-09-10 13:03:27 +00:00
2024-09-14 01:16:14 +00:00
[node name="FloodLevelCountLabel" type="Label" parent="HBoxContainer/RightCounters/RightCounters/Background"]
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-14 01:16:14 +00:00
offset_left = 55.0
offset_right = 110.0
offset_bottom = 24.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
text = "000"
2024-09-10 13:03:27 +00:00
horizontal_alignment = 2
2024-09-14 01:16:14 +00:00
vertical_alignment = 1
script = ExtResource("2_ei01o")
2024-09-14 01:31:14 +00:00
key = "flood_level"