brackeys-12/ui/UI.tscn

150 lines
4.3 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-15 03:21:43 +00:00
[ext_resource type="Texture2D" uid="uid://ckbq5ipvom580" path="res://stone.png" id="3_dnx35"]
2024-09-14 01:24:54 +00:00
[ext_resource type="Texture2D" uid="uid://rtrb5p3o61i4" path="res://ui/essence_icon.png" id="4_7fjj4"]
2024-09-15 03:21:43 +00:00
[ext_resource type="Texture2D" uid="uid://dwm8p1koiqee8" path="res://wood.png" id="4_yvmom"]
2024-09-10 13:03:27 +00:00
2024-09-15 03:21:43 +00:00
[node name="UI" type="Control"]
2024-09-14 01:16:14 +00:00
custom_minimum_size = Vector2(640, 360)
2024-09-15 03:21:43 +00:00
layout_mode = 3
2024-09-10 13:03:27 +00:00
anchors_preset = 10
anchor_right = 1.0
2024-09-15 03:21:43 +00:00
offset_bottom = 360.0
2024-09-10 13:03:27 +00:00
grow_horizontal = 2
2024-09-14 01:24:54 +00:00
theme = ExtResource("1_fcqle")
2024-09-10 13:03:27 +00:00
2024-09-15 03:21:43 +00:00
[node name="Background" type="NinePatchRect" parent="."]
self_modulate = Color(0.67451, 0.67451, 0.67451, 0)
custom_minimum_size = Vector2(86.39, 22.095)
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-15 03:21:43 +00:00
offset_left = 7.0
offset_top = 3.0
offset_right = 639.0
offset_bottom = 25.095
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)
2024-09-15 03:21:43 +00:00
[node name="StoneIcon" type="TextureRect" parent="Background"]
2024-09-14 01:16:14 +00:00
layout_mode = 0
2024-09-15 03:21:43 +00:00
offset_left = 2.0
offset_top = 2.0
offset_right = 18.0
offset_bottom = 18.0
texture = ExtResource("3_dnx35")
2024-09-14 01:16:14 +00:00
2024-09-15 03:21:43 +00:00
[node name="WoodIcon" type="TextureRect" parent="Background"]
2024-09-14 01:16:14 +00:00
layout_mode = 0
2024-09-15 03:21:43 +00:00
offset_left = 44.0
offset_top = 1.0
offset_right = 60.0
offset_bottom = 17.0
texture = ExtResource("4_yvmom")
2024-09-14 01:16:14 +00:00
expand_mode = 2
2024-09-15 03:21:43 +00:00
[node name="EssenceIcon" type="TextureRect" parent="Background"]
visible = false
2024-09-14 01:16:14 +00:00
layout_mode = 0
offset_left = 120.0
offset_right = 144.0
offset_bottom = 24.0
texture = ExtResource("4_7fjj4")
expand_mode = 2
2024-09-15 03:21:43 +00:00
[node name="StoneCountLabel" type="Label" parent="Background"]
2024-09-14 01:16:14 +00:00
layout_mode = 2
2024-09-15 03:21:43 +00:00
offset_left = 23.0
offset_right = 61.0
2024-09-14 01:16:14 +00:00
offset_bottom = 24.0
2024-09-15 03:21:43 +00:00
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"
2024-09-14 01:16:14 +00:00
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-15 03:21:43 +00:00
[node name="WoodCountLabel" type="Label" parent="Background"]
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-15 03:21:43 +00:00
offset_left = 65.0
offset_right = 124.0
2024-09-14 01:16:14 +00:00
offset_bottom = 24.0
2024-09-15 03:21:43 +00:00
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
"
2024-09-14 01:16:14 +00:00
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
2024-09-15 03:21:43 +00:00
[node name="EssenceCountLabel" type="Label" parent="Background"]
visible = false
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
2024-09-15 03:21:43 +00:00
[node name="RightCounters" type="VBoxContainer" parent="."]
visible = false
2024-09-10 13:03:27 +00:00
layout_direction = 2
layout_mode = 2
2024-09-15 03:21:43 +00:00
offset_left = 527.0
offset_right = 640.0
offset_bottom = 360.0
2024-09-10 13:03:27 +00:00
2024-09-15 03:21:43 +00:00
[node name="RightCounters" type="MarginContainer" parent="RightCounters"]
2024-09-10 13:03:27 +00:00
layout_mode = 2
2024-09-15 03:21:43 +00:00
[node name="Background" type="NinePatchRect" parent="RightCounters/RightCounters"]
2024-09-14 01:16:14 +00:00
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)
2024-09-15 03:21:43 +00:00
[node name="PopulationIcon" type="TextureRect" parent="RightCounters/RightCounters/Background"]
2024-09-14 01:16:14 +00:00
layout_mode = 0
offset_left = 10.0
offset_right = 34.0
offset_bottom = 24.0
expand_mode = 2
2024-09-15 03:21:43 +00:00
[node name="FloodLevelIcon" type="TextureRect" parent="RightCounters/RightCounters/Background"]
2024-09-14 01:16:14 +00:00
layout_mode = 0
offset_left = 65.0
offset_right = 89.0
offset_bottom = 24.0
expand_mode = 2
2024-09-15 03:21:43 +00:00
[node name="PopulationCountLabel" type="Label" parent="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-15 03:21:43 +00:00
[node name="FloodLevelCountLabel" type="Label" parent="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"