brackeys-12/ui/BuildingMenu.tscn

98 lines
3.3 KiB
Text
Raw Normal View History

2024-09-12 02:04:24 +00:00
[gd_scene load_steps=7 format=3 uid="uid://b22pr3istdhcv"]
[ext_resource type="Theme" uid="uid://d035h7upxrw3h" path="res://theme.tres" id="1_2qpq4"]
[ext_resource type="Script" path="res://ui/building_menu.gd" id="1_nmos7"]
[ext_resource type="Texture2D" uid="uid://brrrxrf3phkqv" path="res://ui/buildingmeny.png" id="2_tml71"]
[ext_resource type="PackedScene" uid="uid://bqvue0h7wc0mx" path="res://ui/BuildingTab.tscn" id="3_cpcpk"]
[ext_resource type="PackedScene" uid="uid://cqfr8d1b7pd6p" path="res://ui/Spacer.tscn" id="3_ji0ar"]
[ext_resource type="PackedScene" uid="uid://b7o2i7tgirg64" path="res://ui/BuildingIcon.tscn" id="3_ol3gk"]
[node name="BuildingMenu" type="Control"]
layout_mode = 3
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -63.0
offset_right = 186.0
grow_vertical = 0
theme = ExtResource("1_2qpq4")
script = ExtResource("1_nmos7")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
offset_right = 184.0
offset_bottom = 17.0
theme_override_constants/separation = 0
[node name="BuildingTab" parent="HBoxContainer" instance=ExtResource("3_cpcpk")]
self_modulate = Color(1, 1, 1, 0.4)
layout_mode = 2
text = "Resources"
[node name="BuildingTab2" parent="HBoxContainer" instance=ExtResource("3_cpcpk")]
self_modulate = Color(1, 1, 1, 0.101961)
layout_mode = 2
key = "housing"
text = "Housing"
width = 44.0
[node name="BuildingTab3" parent="HBoxContainer" instance=ExtResource("3_cpcpk")]
self_modulate = Color(1, 1, 1, 0.101961)
layout_mode = 2
key = "utility"
text = "Utility"
width = 38.0
[node name="Buildings" type="TextureRect" parent="."]
self_modulate = Color(1, 1, 1, 0.392157)
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -46.0
offset_right = 184.0
grow_vertical = 0
texture = ExtResource("2_tml71")
[node name="VBoxContainer" type="HBoxContainer" parent="Buildings"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 8.0
offset_top = 7.0
offset_right = -8.0
offset_bottom = -7.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
[node name="BuildingIcon" parent="Buildings/VBoxContainer" instance=ExtResource("3_ol3gk")]
layout_mode = 2
color = Color(0.674815, 0.674815, 0.674815, 1)
[node name="Spacer" parent="Buildings/VBoxContainer" instance=ExtResource("3_ji0ar")]
layout_mode = 2
[node name="BuildingIcon2" parent="Buildings/VBoxContainer" instance=ExtResource("3_ol3gk")]
layout_mode = 2
color = Color(0.674815, 0.674815, 0.674815, 1)
[node name="Spacer2" parent="Buildings/VBoxContainer" instance=ExtResource("3_ji0ar")]
layout_mode = 2
[node name="BuildingIcon3" parent="Buildings/VBoxContainer" instance=ExtResource("3_ol3gk")]
layout_mode = 2
color = Color(0.674815, 0.674815, 0.674815, 1)
[node name="Spacer3" parent="Buildings/VBoxContainer" instance=ExtResource("3_ji0ar")]
layout_mode = 2
[node name="BuildingIcon4" parent="Buildings/VBoxContainer" instance=ExtResource("3_ol3gk")]
layout_mode = 2
color = Color(0.674815, 0.674815, 0.674815, 1)
[connection signal="clicked" from="HBoxContainer/BuildingTab" to="." method="_on_building_tab_clicked"]
[connection signal="clicked" from="HBoxContainer/BuildingTab2" to="." method="_on_building_tab_2_clicked"]
[connection signal="clicked" from="HBoxContainer/BuildingTab3" to="." method="_on_building_tab_3_clicked"]