[gd_scene load_steps=9 format=3 uid="uid://sxae8i12io4y"] [ext_resource type="Script" uid="uid://ol6efor868gk" path="res://scripts/menu.gd" id="1_vjb58"] [ext_resource type="Texture2D" uid="uid://xuw4ki75j3fy" path="res://assets/background/menubg.png" id="1_yqeox"] [ext_resource type="AudioStream" uid="uid://ditln0kq3u3dm" path="res://assets/sounds/music/menu_music.mp3" id="3_con2f"] [ext_resource type="Script" path="res://scenes/button_script.gd" id="3_mhnvy"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yqeox"] bg_color = Color(0.1567365, 0.410904, 0.5666233, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0, 0, 0, 1) corner_radius_top_left = 12 corner_radius_top_right = 12 corner_radius_bottom_right = 12 corner_radius_bottom_left = 12 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vjb58"] bg_color = Color(0.5891781, 0.78593767, 0.93167466, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 corner_radius_top_left = 12 corner_radius_top_right = 12 corner_radius_bottom_right = 12 corner_radius_bottom_left = 12 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_con2f"] bg_color = Color(0.09019608, 0.15294118, 0.28235295, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 corner_radius_top_left = 12 corner_radius_top_right = 12 corner_radius_bottom_right = 12 corner_radius_bottom_left = 12 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mhnvy"] bg_color = Color(0.09026273, 0.15419397, 0.28203714, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 corner_radius_top_left = 12 corner_radius_top_right = 12 corner_radius_bottom_right = 12 corner_radius_bottom_left = 12 [node name="MainMenu" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_vjb58") [node name="TextureRect" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("1_yqeox") expand_mode = 1 [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -125.0 offset_top = -37.0 offset_right = 117.0 offset_bottom = 167.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 20 [node name="start" type="Button" parent="VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 31 theme_override_styles/normal = SubResource("StyleBoxFlat_yqeox") theme_override_styles/pressed = SubResource("StyleBoxFlat_vjb58") theme_override_styles/hover = SubResource("StyleBoxFlat_con2f") text = "START" script = ExtResource("3_mhnvy") [node name="exit" type="Button" parent="VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 31 theme_override_styles/normal = SubResource("StyleBoxFlat_yqeox") theme_override_styles/pressed = SubResource("StyleBoxFlat_vjb58") theme_override_styles/hover = SubResource("StyleBoxFlat_mhnvy") text = "WYJŚCIE" [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("3_con2f") volume_db = 7.068 autoplay = true