2024-05-07 19:50:15 -04:00
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://ck1db6d8whbac"]
|
2024-04-17 15:00:20 -04:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://MainMenu.gd" id="1_omrmt"]
|
2024-04-20 09:45:17 -04:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bfuxwsctqat2v" path="res://main_menu.png" id="2_vrg41"]
|
2024-04-19 17:59:19 -04:00
|
|
|
[ext_resource type="FontFile" uid="uid://bnguin7bsyx6e" path="res://Kenney Future.ttf" id="4_ybv7t"]
|
2024-04-17 17:22:29 -04:00
|
|
|
[ext_resource type="Script" path="res://Settings.gd" id="5_sarwv"]
|
2024-04-23 14:38:44 -04:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bdg4mycyxr8hw" path="res://loading_bg.png" id="6_fwqfu"]
|
2024-04-17 17:22:29 -04:00
|
|
|
[ext_resource type="Script" path="res://EmojiValidator.gd" id="6_ojb71"]
|
2024-05-07 19:50:15 -04:00
|
|
|
[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"]
|
2024-05-07 21:32:08 -04:00
|
|
|
[ext_resource type="AudioStream" uid="uid://dumcnppcm3cex" path="res://title screen.ogg" id="9_rc4r7"]
|
2024-05-07 19:50:15 -04:00
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4ojsq"]
|
|
|
|
bg_color = Color(0.6, 0.6, 0.6, 0)
|
2024-04-17 15:00:20 -04:00
|
|
|
|
|
|
|
[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="."]
|
2024-04-20 09:45:17 -04:00
|
|
|
texture_filter = 1
|
2024-04-17 15:00:20 -04:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2024-04-20 09:45:17 -04:00
|
|
|
texture = ExtResource("2_vrg41")
|
2024-04-17 15:00:20 -04:00
|
|
|
|
|
|
|
[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
|
2024-04-19 17:59:19 -04:00
|
|
|
theme_override_fonts/font = ExtResource("4_ybv7t")
|
2024-04-17 15:00:20 -04:00
|
|
|
theme_override_font_sizes/font_size = 200
|
2024-04-23 14:38:44 -04:00
|
|
|
text = "APE AME"
|
2024-04-17 15:00:20 -04:00
|
|
|
horizontal_alignment = 1
|
|
|
|
|
2024-04-19 17:59:19 -04:00
|
|
|
[node name="Layout" type="VBoxContainer" parent="."]
|
2024-04-17 15:00:20 -04:00
|
|
|
layout_mode = 1
|
2024-04-19 17:59:19 -04:00
|
|
|
anchors_preset = 12
|
2024-04-17 15:00:20 -04:00
|
|
|
anchor_top = 1.0
|
2024-04-19 17:59:19 -04:00
|
|
|
anchor_right = 1.0
|
2024-04-17 15:00:20 -04:00
|
|
|
anchor_bottom = 1.0
|
2024-04-19 17:59:19 -04:00
|
|
|
offset_top = -450.0
|
|
|
|
offset_bottom = -79.0
|
2024-04-17 15:00:20 -04:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 0
|
2024-04-19 17:59:19 -04:00
|
|
|
alignment = 1
|
|
|
|
|
|
|
|
[node name="Play" type="Button" parent="Layout"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
theme_override_fonts/font = ExtResource("4_ybv7t")
|
2024-04-17 15:00:20 -04:00
|
|
|
theme_override_font_sizes/font_size = 100
|
2024-04-19 17:59:19 -04:00
|
|
|
text = "PLAY"
|
2024-04-17 15:00:20 -04:00
|
|
|
flat = true
|
|
|
|
|
2024-04-19 17:59:19 -04:00
|
|
|
[node name="Settings" type="Button" parent="Layout"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
theme_override_fonts/font = ExtResource("4_ybv7t")
|
2024-04-17 15:00:20 -04:00
|
|
|
theme_override_font_sizes/font_size = 100
|
2024-04-19 17:59:19 -04:00
|
|
|
text = "CONFIG"
|
2024-04-17 15:00:20 -04:00
|
|
|
flat = true
|
2024-04-19 17:59:19 -04:00
|
|
|
alignment = 0
|
2024-04-17 15:00:20 -04:00
|
|
|
|
2024-04-19 17:59:19 -04:00
|
|
|
[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")
|
2024-04-17 15:00:20 -04:00
|
|
|
theme_override_font_sizes/font_size = 100
|
2024-04-19 17:59:19 -04:00
|
|
|
text = "TUTORIAL"
|
2024-04-17 15:00:20 -04:00
|
|
|
flat = true
|
2024-04-19 17:59:19 -04:00
|
|
|
alignment = 2
|
2024-04-17 15:00:20 -04:00
|
|
|
|
|
|
|
[node name="Settings Panel" type="ColorRect" parent="."]
|
2024-04-17 17:22:29 -04:00
|
|
|
visible = false
|
2024-04-17 15:00:20 -04:00
|
|
|
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)
|
2024-04-17 17:22:29 -04:00
|
|
|
script = ExtResource("5_sarwv")
|
2024-04-17 15:00:20 -04:00
|
|
|
|
2024-04-17 17:22:29 -04:00
|
|
|
[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
|
2024-04-19 17:59:19 -04:00
|
|
|
theme_override_fonts/font = ExtResource("4_ybv7t")
|
2024-04-17 17:22:29 -04:00
|
|
|
theme_override_font_sizes/font_size = 50
|
|
|
|
text = "SAVE"
|
|
|
|
flat = true
|
|
|
|
|
|
|
|
[node name="Menu" type="GridContainer" parent="Settings Panel"]
|
2024-04-17 15:00:20 -04:00
|
|
|
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
|
|
|
|
|
2024-04-17 17:22:29 -04:00
|
|
|
[node name="Label" type="Label" parent="Settings Panel/Menu"]
|
2024-05-07 19:50:15 -04:00
|
|
|
custom_minimum_size = Vector2(0, 100)
|
2024-04-17 15:00:20 -04:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 0
|
2024-04-19 17:59:19 -04:00
|
|
|
theme_override_fonts/font = ExtResource("4_ybv7t")
|
2024-04-17 15:00:20 -04:00
|
|
|
theme_override_font_sizes/font_size = 80
|
2024-04-18 15:02:37 -04:00
|
|
|
text = "Username"
|
2024-04-17 15:00:20 -04:00
|
|
|
|
2024-04-17 17:22:29 -04:00
|
|
|
[node name="Username" type="LineEdit" parent="Settings Panel/Menu"]
|
2024-04-17 18:35:16 -04:00
|
|
|
custom_minimum_size = Vector2(50, 0)
|
2024-04-17 15:00:20 -04:00
|
|
|
layout_mode = 2
|
2024-04-17 17:22:29 -04:00
|
|
|
size_flags_horizontal = 8
|
2024-04-19 17:59:19 -04:00
|
|
|
theme_override_fonts/font = ExtResource("4_ybv7t")
|
2024-04-17 17:22:29 -04:00
|
|
|
theme_override_font_sizes/font_size = 54
|
2024-04-18 15:02:37 -04:00
|
|
|
placeholder_text = "USR"
|
2024-04-17 17:22:29 -04:00
|
|
|
alignment = 1
|
2024-04-18 15:02:37 -04:00
|
|
|
max_length = 3
|
2024-04-17 17:22:29 -04:00
|
|
|
script = ExtResource("6_ojb71")
|
2024-04-18 15:02:37 -04:00
|
|
|
pattern = "^[A-Za-z]+"
|
2024-04-17 17:22:29 -04:00
|
|
|
|
|
|
|
[node name="Label2" type="Label" parent="Settings Panel/Menu"]
|
2024-05-07 19:50:15 -04:00
|
|
|
custom_minimum_size = Vector2(0, 100)
|
2024-04-17 17:22:29 -04:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 0
|
2024-04-19 17:59:19 -04:00
|
|
|
theme_override_fonts/font = ExtResource("4_ybv7t")
|
2024-04-17 17:22:29 -04:00
|
|
|
theme_override_font_sizes/font_size = 80
|
|
|
|
text = "Movement "
|
|
|
|
|
|
|
|
[node name="Controls" type="OptionButton" parent="Settings Panel/Menu"]
|
|
|
|
layout_mode = 2
|
2024-04-19 17:59:19 -04:00
|
|
|
theme_override_fonts/font = ExtResource("4_ybv7t")
|
2024-04-17 17:22:29 -04:00
|
|
|
theme_override_font_sizes/font_size = 54
|
2025-02-05 18:20:26 -05:00
|
|
|
item_count = 2
|
2024-04-17 17:22:29 -04:00
|
|
|
popup/item_0/text = "Relative"
|
|
|
|
popup/item_1/text = "Absolute"
|
|
|
|
popup/item_1/id = 1
|
2024-04-17 15:00:20 -04:00
|
|
|
|
2024-05-06 14:09:14 -04:00
|
|
|
[node name="Label3" type="Label" parent="Settings Panel/Menu"]
|
2024-05-07 19:50:15 -04:00
|
|
|
custom_minimum_size = Vector2(0, 100)
|
2024-05-06 14:09:14 -04:00
|
|
|
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
|
2025-02-05 18:20:26 -05:00
|
|
|
item_count = 3
|
2024-05-06 14:09:14 -04:00
|
|
|
popup/item_0/text = "Row"
|
2025-02-05 18:20:26 -05:00
|
|
|
popup/item_1/text = "Ite"
|
2024-05-06 14:09:14 -04:00
|
|
|
popup/item_1/id = 1
|
2024-05-08 11:28:26 -04:00
|
|
|
popup/item_2/text = "Iamond"
|
|
|
|
popup/item_2/id = 2
|
2024-05-06 14:09:14 -04:00
|
|
|
|
2024-05-07 19:50:15 -04:00
|
|
|
[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")
|
|
|
|
|
2025-02-05 14:05:36 -05:00
|
|
|
[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"
|
|
|
|
|
2024-04-17 15:00:20 -04:00
|
|
|
[node name="Tutorial Text" type="Label" parent="."]
|
2024-04-25 15:27:00 -04:00
|
|
|
visible = false
|
2024-04-17 15:00:20 -04:00
|
|
|
z_index = 2
|
|
|
|
layout_mode = 1
|
2024-04-24 14:57:29 -04:00
|
|
|
anchors_preset = -1
|
|
|
|
anchor_left = 0.203
|
|
|
|
anchor_top = 0.111
|
2024-04-17 15:00:20 -04:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2024-04-24 14:57:29 -04:00
|
|
|
offset_left = -178.76
|
|
|
|
offset_top = 40.12
|
|
|
|
offset_right = -211.0
|
|
|
|
offset_bottom = -160.0
|
2024-04-17 15:00:20 -04:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2024-04-19 17:59:19 -04:00
|
|
|
theme_override_fonts/font = ExtResource("4_ybv7t")
|
2024-04-24 14:57:29 -04:00
|
|
|
theme_override_font_sizes/font_size = 60
|
2024-05-06 10:05:42 -04:00
|
|
|
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
|
|
|
|
"
|
2024-04-17 15:00:20 -04:00
|
|
|
horizontal_alignment = 1
|
|
|
|
vertical_alignment = 1
|
2024-05-06 10:05:42 -04:00
|
|
|
autowrap_mode = 3
|
2024-04-17 15:00:20 -04:00
|
|
|
|
|
|
|
[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)
|
|
|
|
|
2024-04-17 17:22:29 -04:00
|
|
|
[node name="Close" type="Button" parent="Tutorial Text"]
|
2024-04-17 15:00:20 -04:00
|
|
|
layout_mode = 1
|
|
|
|
offset_left = 24.0
|
|
|
|
offset_top = 6.0
|
|
|
|
offset_right = 63.0
|
|
|
|
offset_bottom = 106.0
|
2024-04-19 17:59:19 -04:00
|
|
|
theme_override_fonts/font = ExtResource("4_ybv7t")
|
2024-04-17 15:00:20 -04:00
|
|
|
theme_override_font_sizes/font_size = 50
|
|
|
|
text = "X"
|
|
|
|
flat = true
|
|
|
|
|
2024-04-23 14:38:44 -04:00
|
|
|
[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
|
2024-04-24 14:57:29 -04:00
|
|
|
text = "TIP: THE TIP SYSTEM DOES NOT WORK"
|
2024-04-23 14:38:44 -04:00
|
|
|
horizontal_alignment = 1
|
|
|
|
vertical_alignment = 1
|
|
|
|
autowrap_mode = 2
|
|
|
|
|
2024-04-24 14:57:29 -04:00
|
|
|
[node name="Title" type="RichTextLabel" parent="LoadingScreen"]
|
2024-04-23 14:38:44 -04:00
|
|
|
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
|
2024-04-24 14:57:29 -04:00
|
|
|
theme_override_fonts/normal_font = ExtResource("4_ybv7t")
|
|
|
|
theme_override_font_sizes/normal_font_size = 200
|
|
|
|
bbcode_enabled = true
|
|
|
|
text = "[center][wave]LOADING..."
|
2024-04-23 14:38:44 -04:00
|
|
|
|
2024-05-07 19:50:15 -04:00
|
|
|
[node name="Music" type="AudioStreamPlayer2D" parent="."]
|
2024-05-07 21:32:08 -04:00
|
|
|
stream = ExtResource("9_rc4r7")
|
2024-05-07 19:50:15 -04:00
|
|
|
autoplay = true
|
2025-02-05 14:05:36 -05:00
|
|
|
bus = &"Music"
|
2024-05-07 19:50:15 -04:00
|
|
|
|
2024-04-19 17:59:19 -04:00
|
|
|
[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"]
|
2025-02-05 18:20:26 -05:00
|
|
|
[connection signal="pressed" from="Settings Panel/Close" to="Settings Panel" method="hide"]
|
2025-02-06 13:13:44 -05:00
|
|
|
[connection signal="pressed" from="Settings Panel/Close" to="Settings Panel" method="save"]
|
2024-04-17 17:22:29 -04:00
|
|
|
[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"]
|
2024-05-07 19:50:15 -04:00
|
|
|
[connection signal="value_changed" from="Settings Panel/Menu/MusicVolume" to="Settings Panel/Menu/MusicVolume" method="_on_value_changed"]
|
2025-02-05 14:05:36 -05:00
|
|
|
[connection signal="value_changed" from="Settings Panel/Menu/SFX Volume" to="Settings Panel/Menu/SFX Volume" method="_on_value_changed"]
|
2024-04-17 17:22:29 -04:00
|
|
|
[connection signal="pressed" from="Tutorial Text/Close" to="Tutorial Text" method="hide"]
|