Added decorations to main menu, added data for research and buildings

This commit is contained in:
2026-05-06 20:13:54 +02:00
parent 429e10eca1
commit a9475aaaf9
3 changed files with 279 additions and 0 deletions
+48
View File
@@ -1,6 +1,10 @@
[gd_scene format=3 uid="uid://dlommaelbbw2b"]
[ext_resource type="Script" uid="uid://dda0bhhqspbr0" path="res://Scripts/Menus/MainMenu.cs" id="1_tt5f1"]
[ext_resource type="Texture2D" uid="uid://ban872p4eh4gi" path="res://Assets/Images/RobotSymbol.png" id="2_853f1"]
[ext_resource type="Texture2D" uid="uid://dt84awx33mulb" path="res://Assets/Images/ResearchSymbol.png" id="3_df05h"]
[ext_resource type="Texture2D" uid="uid://dm0w2gtcsa5l4" path="res://Assets/Images/Items/Batteryv1Symbol.png" id="4_8um5k"]
[ext_resource type="Texture2D" uid="uid://qqprre8xl8gv" path="res://Assets/Images/Items/Dynamov2Symbol.png" id="5_xim88"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bnhvo"]
bg_color = Color(0.24115604, 0.24115607, 0.24115595, 1)
@@ -87,5 +91,49 @@ theme_override_styles/normal = SubResource("StyleBoxFlat_bnhvo")
theme_override_styles/hover = SubResource("StyleBoxFlat_tt5f1")
text = "Exit Game"
[node name="Decoration" type="Control" parent="." unique_id=252748481]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TextureRect" type="TextureRect" parent="Decoration" unique_id=175718935]
layout_mode = 0
offset_left = 19.0
offset_top = 960.0
offset_right = 51.0
offset_bottom = 992.0
scale = Vector2(3, 3)
texture = ExtResource("2_853f1")
[node name="TextureRect2" type="TextureRect" parent="Decoration" unique_id=1274351412]
layout_mode = 0
offset_left = 1730.0001
offset_top = 51.0
offset_right = 1770.0001
offset_bottom = 91.0
scale = Vector2(3, 3)
texture = ExtResource("3_df05h")
[node name="TextureRect3" type="TextureRect" parent="Decoration" unique_id=1496393482]
layout_mode = 0
offset_left = 517.0
offset_top = 264.0
offset_right = 557.0
offset_bottom = 304.0
scale = Vector2(3, 3)
texture = ExtResource("4_8um5k")
[node name="TextureRect4" type="TextureRect" parent="Decoration" unique_id=606748204]
layout_mode = 0
offset_left = 1443.0
offset_top = 538.0
offset_right = 1483.0
offset_bottom = 578.0
scale = Vector2(3, 3)
texture = ExtResource("5_xim88")
[connection signal="button_up" from="CenterContainer/VBoxContainer/btnPlay" to="." method="OnPlayPressed"]
[connection signal="button_up" from="CenterContainer/VBoxContainer/btnExit" to="." method="OnQuitPressed"]