[gd_scene load_steps=16 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://dc3bsqg4ltuet" path="res://assets/sounds/music/menu_music.mp3" id="3_con2f"] [ext_resource type="PackedScene" uid="uid://gvx2ukt1why" path="res://scenes/option_popup.tscn" id="3_mhnvy"] [ext_resource type="Texture2D" uid="uid://da6hb1mill5yn" path="res://assets/icons/buttons/button_blue.png" id="3_v86rl"] [ext_resource type="Texture2D" uid="uid://t2pwtja7yfa4" path="res://assets/icons/buttons/button_red.png" id="4_13sgg"] [ext_resource type="Texture2D" uid="uid://dssoa5bxs2h4r" path="res://assets/icons/logo_game.png" id="5_4ytvr"] [ext_resource type="FontFile" uid="uid://chk8jrn2ighpx" path="res://assets/fonts/main_font.ttf" id="6_i6lef"] [ext_resource type="Texture2D" uid="uid://cm376wgq8l0n4" path="res://assets/stars/small_star.png" id="7_i6lef"] [sub_resource type="Animation" id="Animation_mj5lg"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 0.5058824)] } [sub_resource type="Animation" id="Animation_70i5f"] resource_name = "blink" loop_mode = 2 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:modulate") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.46, 1), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Color(1, 1, 1, 0.5058824), Color(1, 1, 1, 1), Color(1, 1, 1, 0.5058824)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_ufwb2"] _data = { &"RESET": SubResource("Animation_mj5lg"), &"blink": SubResource("Animation_70i5f") } [sub_resource type="Animation" id="Animation_i6lef"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 0)] } [sub_resource type="Animation" id="Animation_13sgg"] resource_name = "anim_logo" length = 5.0 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 5), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_70i5f"] _data = { &"RESET": SubResource("Animation_i6lef"), &"anim_logo": SubResource("Animation_13sgg") } [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 offset_bottom = -1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("1_yqeox") expand_mode = 1 [node name="star" type="Sprite2D" parent="TextureRect"] modulate = Color(1, 1, 1, 0.5058824) position = Vector2(866.2031, 336.45313) scale = Vector2(1.1979373, 1.0312517) texture = ExtResource("7_i6lef") [node name="AnimationPlayer" type="AnimationPlayer" parent="TextureRect/star"] libraries = { &"": SubResource("AnimationLibrary_ufwb2") } autoplay = "blink" [node name="exit" type="TextureButton" parent="TextureRect"] layout_mode = 0 offset_left = 7.0 offset_top = 580.0 offset_right = 1257.0 offset_bottom = 810.0 scale = Vector2(0.15, 0.15) texture_normal = ExtResource("3_v86rl") texture_hover = ExtResource("4_13sgg") stretch_mode = 0 [node name="Label" type="Label" parent="TextureRect/exit"] layout_mode = 0 offset_left = 6.6666603 offset_top = 6.6665955 offset_right = 1246.6665 offset_bottom = 219.99985 theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1) theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0) theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1) theme_override_constants/outline_size = 23 theme_override_fonts/font = ExtResource("6_i6lef") theme_override_font_sizes/font_size = 120 text = "menu_exit" horizontal_alignment = 1 vertical_alignment = 1 [node name="option" type="TextureButton" parent="TextureRect"] layout_mode = 0 offset_left = 7.0 offset_top = 537.0 offset_right = 1257.0 offset_bottom = 767.0 scale = Vector2(0.15, 0.15) texture_normal = ExtResource("3_v86rl") texture_hover = ExtResource("4_13sgg") stretch_mode = 0 [node name="Label" type="Label" parent="TextureRect/option"] layout_mode = 0 offset_left = 6.6666718 offset_top = 6.6664734 offset_right = 1246.6665 offset_bottom = 226.66647 theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1) theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0) theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1) theme_override_constants/outline_size = 23 theme_override_fonts/font = ExtResource("6_i6lef") theme_override_font_sizes/font_size = 120 text = "menu_options" horizontal_alignment = 1 vertical_alignment = 1 [node name="start" type="TextureButton" parent="TextureRect"] layout_mode = 0 offset_left = 7.0 offset_top = 449.0 offset_right = 1257.0 offset_bottom = 679.0 scale = Vector2(0.15, 0.15) texture_normal = ExtResource("3_v86rl") texture_hover = ExtResource("4_13sgg") stretch_mode = 0 [node name="Label" type="Label" parent="TextureRect/start"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -618.3333 offset_top = -108.33362 offset_right = 621.6665 offset_bottom = 111.66638 grow_horizontal = 2 grow_vertical = 2 theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1) theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0) theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1) theme_override_constants/outline_size = 23 theme_override_fonts/font = ExtResource("6_i6lef") theme_override_font_sizes/font_size = 120 text = "menu_start" horizontal_alignment = 1 vertical_alignment = 1 [node name="back" type="TextureButton" parent="TextureRect"] layout_mode = 0 offset_left = 7.0 offset_top = 388.0 offset_right = 1257.0 offset_bottom = 618.0 scale = Vector2(0.15, 0.15) texture_normal = ExtResource("3_v86rl") texture_hover = ExtResource("4_13sgg") stretch_mode = 0 [node name="Label" type="Label" parent="TextureRect/back"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -618.3333 offset_top = -108.33362 offset_right = 621.6665 offset_bottom = 111.66638 grow_horizontal = 2 grow_vertical = 2 theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1) theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0) theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1) theme_override_constants/outline_size = 23 theme_override_fonts/font = ExtResource("6_i6lef") theme_override_font_sizes/font_size = 120 text = "menu_back" horizontal_alignment = 1 vertical_alignment = 1 [node name="load" type="TextureButton" parent="TextureRect"] layout_mode = 0 offset_left = 7.050003 offset_top = 494.10004 offset_right = 1257.05 offset_bottom = 724.1 scale = Vector2(0.15, 0.15) texture_normal = ExtResource("3_v86rl") texture_hover = ExtResource("4_13sgg") stretch_mode = 0 [node name="Label" type="Label" parent="TextureRect/load"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -618.6667 offset_top = -115.66679 offset_right = 621.3331 offset_bottom = 104.333206 grow_horizontal = 2 grow_vertical = 2 theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1) theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0) theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1) theme_override_constants/outline_size = 23 theme_override_fonts/font = ExtResource("6_i6lef") theme_override_font_sizes/font_size = 120 text = "menu_load" horizontal_alignment = 1 vertical_alignment = 1 [node name="Sprite2D" type="Sprite2D" parent="TextureRect"] modulate = Color(1, 1, 1, 0) position = Vector2(563.00006, 328.00003) scale = Vector2(0.27148017, 0.2616161) texture = ExtResource("5_4ytvr") [node name="AnimationPlayer" type="AnimationPlayer" parent="TextureRect/Sprite2D"] libraries = { &"": SubResource("AnimationLibrary_70i5f") } autoplay = "anim_logo" [node name="VBoxContainer" type="GridContainer" parent="."] visible = false layout_mode = 1 anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 offset_left = 345.0 offset_top = -488.0 offset_right = 1365.0 offset_bottom = 862.0 grow_vertical = 0 scale = Vector2(0.3, 0.3) [node name="AudioStreamPlayer2D" type="AudioStreamPlayer" parent="."] stream = ExtResource("3_con2f") autoplay = true [node name="OptionPopup" parent="." instance=ExtResource("3_mhnvy")] visible = false