[gd_scene load_steps=11 format=3 uid="uid://ck1db6d8whbac"] [ext_resource type="Script" path="res://MainMenu.gd" id="1_omrmt"] [ext_resource type="Texture2D" uid="uid://bfuxwsctqat2v" path="res://main_menu.png" id="2_vrg41"] [ext_resource type="FontFile" uid="uid://bnguin7bsyx6e" path="res://Kenney Future.ttf" id="4_ybv7t"] [ext_resource type="Script" path="res://Settings.gd" id="5_sarwv"] [ext_resource type="Texture2D" uid="uid://bdg4mycyxr8hw" path="res://loading_bg.png" id="6_fwqfu"] [ext_resource type="Script" path="res://EmojiValidator.gd" id="6_ojb71"] [ext_resource type="Texture2D" uid="uid://1mfe7gltx0lk" path="res://blue_sliderDown.png" id="6_tt6es"] [ext_resource type="Script" path="res://VolumeSlider.gd" id="7_qc1t8"] [ext_resource type="AudioStream" uid="uid://dumcnppcm3cex" path="res://title screen.ogg" id="9_rc4r7"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4ojsq"] bg_color = Color(0.6, 0.6, 0.6, 0) [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_omrmt") [node name="TextureRect" type="TextureRect" parent="."] texture_filter = 1 layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("2_vrg41") [node name="Title" type="Label" parent="."] layout_mode = 1 anchors_preset = 14 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 offset_top = -539.0 offset_bottom = 4.0 grow_horizontal = 2 grow_vertical = 2 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 200 text = "APE AME" horizontal_alignment = 1 [node name="Layout" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -450.0 offset_bottom = -79.0 grow_horizontal = 2 grow_vertical = 0 alignment = 1 [node name="Play" type="Button" parent="Layout"] layout_mode = 2 size_flags_horizontal = 4 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 100 text = "PLAY" flat = true [node name="Settings" type="Button" parent="Layout"] layout_mode = 2 size_flags_horizontal = 4 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 100 text = "CONFIG" flat = true alignment = 0 [node name="Tutorial" type="Button" parent="Layout"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 100 text = "TUTORIAL" flat = true alignment = 2 [node name="Settings Panel" type="ColorRect" parent="."] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 0.619608) script = ExtResource("5_sarwv") [node name="Close" type="Button" parent="Settings Panel"] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -72.0 offset_top = -159.0 offset_right = 72.0 offset_bottom = -59.0 grow_horizontal = 2 grow_vertical = 0 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 50 text = "SAVE" flat = true [node name="Menu" type="GridContainer" parent="Settings Panel"] layout_mode = 1 anchors_preset = 13 anchor_left = 0.5 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -351.0 offset_top = 170.0 offset_right = 351.0 offset_bottom = -170.0 grow_horizontal = 2 grow_vertical = 2 columns = 2 [node name="Label" type="Label" parent="Settings Panel/Menu"] custom_minimum_size = Vector2(0, 100) layout_mode = 2 size_flags_horizontal = 0 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 80 text = "Username" [node name="Username" type="LineEdit" parent="Settings Panel/Menu"] custom_minimum_size = Vector2(50, 0) layout_mode = 2 size_flags_horizontal = 8 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 54 placeholder_text = "USR" alignment = 1 max_length = 3 script = ExtResource("6_ojb71") pattern = "^[A-Za-z]+" [node name="Label2" type="Label" parent="Settings Panel/Menu"] custom_minimum_size = Vector2(0, 100) layout_mode = 2 size_flags_horizontal = 0 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 80 text = "Movement " [node name="Controls" type="OptionButton" parent="Settings Panel/Menu"] layout_mode = 2 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 54 item_count = 2 popup/item_0/text = "Relative" popup/item_1/text = "Absolute" popup/item_1/id = 1 [node name="Label3" type="Label" parent="Settings Panel/Menu"] custom_minimum_size = Vector2(0, 100) layout_mode = 2 size_flags_horizontal = 0 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 80 text = "CLASS" [node name="Character" type="OptionButton" parent="Settings Panel/Menu"] layout_mode = 2 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 54 item_count = 3 popup/item_0/text = "Row" popup/item_1/text = "Ite" popup/item_1/id = 1 popup/item_2/text = "Iamond" popup/item_2/id = 2 [node name="Label4" type="Label" parent="Settings Panel/Menu"] layout_mode = 2 size_flags_horizontal = 0 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 80 text = "music" [node name="MusicVolume" type="HSlider" parent="Settings Panel/Menu"] custom_minimum_size = Vector2(300, 0) layout_mode = 2 size_flags_vertical = 4 theme_override_icons/grabber = ExtResource("6_tt6es") theme_override_icons/grabber_highlight = ExtResource("6_tt6es") theme_override_styles/grabber_area = SubResource("StyleBoxFlat_4ojsq") theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_4ojsq") max_value = 1.0 step = 0.01 script = ExtResource("7_qc1t8") [node name="Label5" type="Label" parent="Settings Panel/Menu"] layout_mode = 2 size_flags_horizontal = 0 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 80 text = "sfx" [node name="SFX Volume" type="HSlider" parent="Settings Panel/Menu"] custom_minimum_size = Vector2(300, 0) layout_mode = 2 size_flags_vertical = 4 theme_override_icons/grabber = ExtResource("6_tt6es") theme_override_icons/grabber_highlight = ExtResource("6_tt6es") theme_override_styles/grabber_area = SubResource("StyleBoxFlat_4ojsq") theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_4ojsq") max_value = 1.0 step = 0.01 script = ExtResource("7_qc1t8") audio_bus_name = "SFX" [node name="Tutorial Text" type="Label" parent="."] visible = false z_index = 2 layout_mode = 1 anchors_preset = -1 anchor_left = 0.203 anchor_top = 0.111 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -178.76 offset_top = 40.12 offset_right = -211.0 offset_bottom = -160.0 grow_horizontal = 2 grow_vertical = 2 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 60 text = "enemies spawn in waves, kill them all to proceeed to the next wave. Place a quare with q, to block shots or redirect the ectangle. Get leaderboard positions by beating waves as fast as possible " horizontal_alignment = 1 vertical_alignment = 1 autowrap_mode = 3 [node name="ColorRect" type="ColorRect" parent="Tutorial Text"] z_index = -1 layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 0.654902) [node name="Close" type="Button" parent="Tutorial Text"] layout_mode = 1 offset_left = 24.0 offset_top = 6.0 offset_right = 63.0 offset_bottom = 106.0 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 50 text = "X" flat = true [node name="LoadingScreen" type="TextureRect" parent="."] visible = false texture_filter = 1 layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("6_fwqfu") [node name="Tip" type="Label" parent="LoadingScreen"] layout_mode = 1 anchors_preset = 14 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 offset_top = -544.0 offset_bottom = -264.0 grow_horizontal = 2 grow_vertical = 2 theme_override_fonts/font = ExtResource("4_ybv7t") theme_override_font_sizes/font_size = 60 text = "TIP: THE TIP SYSTEM DOES NOT WORK" horizontal_alignment = 1 vertical_alignment = 1 autowrap_mode = 2 [node name="Title" type="RichTextLabel" parent="LoadingScreen"] layout_mode = 1 anchors_preset = 14 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 offset_top = 255.0 offset_bottom = 535.0 grow_horizontal = 2 grow_vertical = 2 theme_override_fonts/normal_font = ExtResource("4_ybv7t") theme_override_font_sizes/normal_font_size = 200 bbcode_enabled = true text = "[center][wave]LOADING..." [node name="Music" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("9_rc4r7") autoplay = true bus = &"Music" [connection signal="pressed" from="Layout/Play" to="." method="play"] [connection signal="pressed" from="Layout/Settings" to="Settings Panel" method="show"] [connection signal="pressed" from="Layout/Tutorial" to="Tutorial Text" method="show"] [connection signal="pressed" from="Settings Panel/Close" to="Settings Panel" method="save"] [connection signal="pressed" from="Settings Panel/Close" to="Settings Panel" method="hide"] [connection signal="text_changed" from="Settings Panel/Menu/Username" to="Settings Panel" method="check_valid"] [connection signal="text_changed" from="Settings Panel/Menu/Username" to="Settings Panel/Menu/Username" method="check"] [connection signal="value_changed" from="Settings Panel/Menu/MusicVolume" to="Settings Panel/Menu/MusicVolume" method="_on_value_changed"] [connection signal="value_changed" from="Settings Panel/Menu/SFX Volume" to="Settings Panel/Menu/SFX Volume" method="_on_value_changed"] [connection signal="pressed" from="Tutorial Text/Close" to="Tutorial Text" method="hide"]