brackeys-12/ui/UI.tscn
2024-09-14 23:21:43 -04:00

149 lines
4.3 KiB
Text

[gd_scene load_steps=7 format=3 uid="uid://bxctpr0tfqidf"]
[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"]
[ext_resource type="Script" path="res://ui/counters.gd" id="2_ei01o"]
[ext_resource type="Texture2D" uid="uid://ckbq5ipvom580" path="res://stone.png" id="3_dnx35"]
[ext_resource type="Texture2D" uid="uid://rtrb5p3o61i4" path="res://ui/essence_icon.png" id="4_7fjj4"]
[ext_resource type="Texture2D" uid="uid://dwm8p1koiqee8" path="res://wood.png" id="4_yvmom"]
[node name="UI" type="Control"]
custom_minimum_size = Vector2(640, 360)
layout_mode = 3
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 360.0
grow_horizontal = 2
theme = ExtResource("1_fcqle")
[node name="Background" type="NinePatchRect" parent="."]
self_modulate = Color(0.67451, 0.67451, 0.67451, 0)
custom_minimum_size = Vector2(86.39, 22.095)
layout_mode = 2
offset_left = 7.0
offset_top = 3.0
offset_right = 639.0
offset_bottom = 25.095
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="Background"]
layout_mode = 0
offset_left = 2.0
offset_top = 2.0
offset_right = 18.0
offset_bottom = 18.0
texture = ExtResource("3_dnx35")
[node name="WoodIcon" type="TextureRect" parent="Background"]
layout_mode = 0
offset_left = 44.0
offset_top = 1.0
offset_right = 60.0
offset_bottom = 17.0
texture = ExtResource("4_yvmom")
expand_mode = 2
[node name="EssenceIcon" type="TextureRect" parent="Background"]
visible = false
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="Background"]
layout_mode = 2
offset_left = 23.0
offset_right = 61.0
offset_bottom = 24.0
theme_override_colors/font_color = Color(0.258486, 0.352181, 0.402271, 1)
theme_override_constants/outline_size = 3
theme_override_font_sizes/font_size = 8
text = "0"
vertical_alignment = 1
script = ExtResource("2_ei01o")
key = "stone"
[node name="WoodCountLabel" type="Label" parent="Background"]
layout_mode = 2
offset_left = 65.0
offset_right = 124.0
offset_bottom = 24.0
theme_override_colors/font_color = Color(0.534989, 0.260301, 0.265325, 1)
theme_override_constants/outline_size = 3
theme_override_font_sizes/font_size = 8
text = "0
"
vertical_alignment = 1
script = ExtResource("2_ei01o")
key = "wood"
[node name="EssenceCountLabel" type="Label" parent="Background"]
visible = false
layout_mode = 2
offset_left = 110.0
offset_right = 165.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")
key = "essence"
[node name="RightCounters" type="VBoxContainer" parent="."]
visible = false
layout_direction = 2
layout_mode = 2
offset_left = 527.0
offset_right = 640.0
offset_bottom = 360.0
[node name="RightCounters" type="MarginContainer" parent="RightCounters"]
layout_mode = 2
[node name="Background" type="NinePatchRect" parent="RightCounters/RightCounters"]
custom_minimum_size = Vector2(113, 24)
layout_mode = 2
texture = ExtResource("1_xpu1e")
region_rect = Rect2(1.19859, 0.999939, 182.287, 45.1203)
[node name="PopulationIcon" type="TextureRect" parent="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="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="RightCounters/RightCounters/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")
key = "population"
[node name="FloodLevelCountLabel" type="Label" parent="RightCounters/RightCounters/Background"]
layout_mode = 2
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")
key = "flood_level"