[gd_scene format=3 uid="uid://b6swmjrv02sn6"] [ext_resource type="Script" uid="uid://csjojorlptcs1" path="res://scripts/ui/main_menu.gd" id="1_script"] [ext_resource type="Texture2D" uid="uid://bfc6l14s8iwhp" path="res://assets/background/background_menu.jpg" id="2_background"] [sub_resource type="StyleBoxFlat" id="StyleBox_primary"] content_margin_left = 22.0 bg_color = Color(0.1, 0.33, 0.55, 0.92) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.2, 0.68, 0.95, 0.9) corner_radius_top_left = 5 corner_radius_top_right = 5 corner_radius_bottom_right = 5 corner_radius_bottom_left = 5 [sub_resource type="StyleBoxFlat" id="StyleBox_primary_hover"] content_margin_left = 22.0 bg_color = Color(0.14, 0.44, 0.68, 0.98) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.2, 0.68, 0.95, 0.9) corner_radius_top_left = 5 corner_radius_top_right = 5 corner_radius_bottom_right = 5 corner_radius_bottom_left = 5 [sub_resource type="StyleBoxFlat" id="StyleBox_secondary"] content_margin_left = 22.0 bg_color = Color(0.035, 0.075, 0.13, 0.88) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.26, 0.43, 0.58, 0.75) corner_radius_top_left = 5 corner_radius_top_right = 5 corner_radius_bottom_right = 5 corner_radius_bottom_left = 5 [sub_resource type="StyleBoxFlat" id="StyleBox_secondary_hover"] content_margin_left = 22.0 bg_color = Color(0.08, 0.17, 0.27, 0.98) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.26, 0.43, 0.58, 0.75) corner_radius_top_left = 5 corner_radius_top_right = 5 corner_radius_bottom_right = 5 corner_radius_bottom_left = 5 [node name="MainMenu" type="Control" unique_id=689981845] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_script") [node name="Background" type="TextureRect" parent="." unique_id=1339534440] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("2_background") expand_mode = 1 stretch_mode = 6 [node name="Shade" type="ColorRect" parent="." unique_id=393824567] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.015, 0.025, 0.06, 0.42) [node name="MenuLayout" type="VBoxContainer" parent="." unique_id=1366538799] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -542.0 offset_top = -216.0 offset_right = -152.0 offset_bottom = 217.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 18 [node name="Title" type="Label" parent="MenuLayout" unique_id=341586911] layout_mode = 2 theme_override_colors/font_color = Color(0.92, 0.96, 1, 1) theme_override_font_sizes/font_size = 54 text = "RANDOLOOT" [node name="Subtitle" type="Label" parent="MenuLayout" unique_id=999800820] layout_mode = 2 theme_override_colors/font_color = Color(0.48, 0.78, 1, 1) theme_override_font_sizes/font_size = 16 text = "SPACE ROGUELITE" [node name="Spacer" type="Control" parent="MenuLayout" unique_id=823515088] custom_minimum_size = Vector2(0, 12) layout_mode = 2 [node name="StartButton" type="Button" parent="MenuLayout" unique_id=2117819 groups=["menu_buttons"]] unique_name_in_owner = true custom_minimum_size = Vector2(300, 54) layout_mode = 2 theme_override_font_sizes/font_size = 20 theme_override_styles/normal = SubResource("StyleBox_primary") theme_override_styles/pressed = SubResource("StyleBox_primary_hover") theme_override_styles/hover = SubResource("StyleBox_primary_hover") text = "Start" [node name="SaveButton" type="Button" parent="MenuLayout" unique_id=235932468] custom_minimum_size = Vector2(300, 54) layout_mode = 2 theme_override_font_sizes/font_size = 20 theme_override_styles/normal = SubResource("StyleBox_secondary") theme_override_styles/pressed = SubResource("StyleBox_secondary_hover") theme_override_styles/hover = SubResource("StyleBox_secondary_hover") text = "Wgraj / Zapisz" [node name="OptionsButton" type="Button" parent="MenuLayout" unique_id=335852359] custom_minimum_size = Vector2(300, 54) layout_mode = 2 theme_override_font_sizes/font_size = 20 theme_override_styles/normal = SubResource("StyleBox_secondary") theme_override_styles/pressed = SubResource("StyleBox_secondary_hover") theme_override_styles/hover = SubResource("StyleBox_secondary_hover") text = "Opcje" [node name="ExitButton" type="Button" parent="MenuLayout" unique_id=256179692] unique_name_in_owner = true custom_minimum_size = Vector2(300, 54) layout_mode = 2 theme_override_font_sizes/font_size = 20 theme_override_styles/normal = SubResource("StyleBox_secondary") theme_override_styles/pressed = SubResource("StyleBox_secondary_hover") theme_override_styles/hover = SubResource("StyleBox_secondary_hover") text = "Wyjście"