This commit is contained in:
2026-02-15 01:06:46 -08:00
parent a6ea1b1873
commit 66905c9b53
30 changed files with 831 additions and 474 deletions

View File

@@ -1,7 +1,10 @@
[gd_scene load_steps=3 format=3 uid="uid://rfvnddfqufho"]
[gd_scene load_steps=6 format=3 uid="uid://rfvnddfqufho"]
[ext_resource type="Script" uid="uid://14b7o2c6cgry" path="res://src/menu/MainMenu.cs" id="1_y6722"]
[ext_resource type="StyleBox" uid="uid://bxuy4tnftibfq" path="res://src/options/SelectedOptionsBox.tres" id="2_2ijnm"]
[ext_resource type="Shortcut" uid="uid://dumkrjur22k2a" path="res://src/ui/ButtonShortcut.tres" id="2_7fwjx"]
[ext_resource type="FontFile" uid="uid://0syyay37admf" path="res://src/ui/fonts/georgiab.ttf" id="2_dftre"]
[ext_resource type="StyleBox" uid="uid://bl15q835s4ene" path="res://src/options/UnselectedOptionsBox.tres" id="3_dftre"]
[node name="MainMenu" type="Control"]
layout_mode = 3
@@ -19,45 +22,78 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.137255, 0.121569, 0.12549, 1)
color = Color(0.0962047, 0.0962048, 0.0962047, 1)
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -59.0
offset_top = -171.0
offset_right = 59.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 100
theme_override_constants/margin_top = 100
theme_override_constants/margin_right = 100
theme_override_constants/margin_bottom = 100
grow_vertical = 0
theme_override_constants/margin_bottom = 200
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/CenterContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
[node name="StartGameButton" type="Button" parent="MarginContainer/VBoxContainer"]
[node name="StartGameButton" type="Button" parent="MarginContainer/CenterContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_bottom = NodePath("../EnemyViewerButton")
focus_next = NodePath("../EnemyViewerButton")
theme_override_colors/font_focus_color = Color(0.976471, 0.827451, 0, 1)
theme_override_fonts/font = ExtResource("2_dftre")
theme_override_font_sizes/font_size = 25
theme_override_styles/focus = ExtResource("2_2ijnm")
theme_override_styles/disabled_mirrored = ExtResource("3_dftre")
theme_override_styles/disabled = ExtResource("3_dftre")
theme_override_styles/hover_pressed_mirrored = ExtResource("3_dftre")
theme_override_styles/hover_pressed = ExtResource("3_dftre")
theme_override_styles/hover_mirrored = ExtResource("3_dftre")
theme_override_styles/hover = ExtResource("3_dftre")
theme_override_styles/pressed_mirrored = ExtResource("3_dftre")
theme_override_styles/pressed = ExtResource("3_dftre")
theme_override_styles/normal_mirrored = ExtResource("3_dftre")
theme_override_styles/normal = ExtResource("3_dftre")
shortcut = ExtResource("2_7fwjx")
text = "Start Game"
alignment = 0
[node name="EnemyViewerButton" type="Button" parent="MarginContainer/VBoxContainer"]
[node name="EnemyViewerButton" type="Button" parent="MarginContainer/CenterContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_bottom = NodePath("../GalleryButton")
focus_next = NodePath("../GalleryButton")
focus_previous = NodePath("../StartGameButton")
theme_override_colors/font_focus_color = Color(0.976471, 0.827451, 0, 1)
theme_override_fonts/font = ExtResource("2_dftre")
theme_override_font_sizes/font_size = 25
theme_override_styles/focus = ExtResource("2_2ijnm")
theme_override_styles/disabled_mirrored = ExtResource("3_dftre")
theme_override_styles/disabled = ExtResource("3_dftre")
theme_override_styles/hover_pressed_mirrored = ExtResource("3_dftre")
theme_override_styles/hover_pressed = ExtResource("3_dftre")
theme_override_styles/hover_mirrored = ExtResource("3_dftre")
theme_override_styles/hover = ExtResource("3_dftre")
theme_override_styles/pressed_mirrored = ExtResource("3_dftre")
theme_override_styles/pressed = ExtResource("3_dftre")
theme_override_styles/normal_mirrored = ExtResource("3_dftre")
theme_override_styles/normal = ExtResource("3_dftre")
shortcut = ExtResource("2_7fwjx")
text = "Enemy Viewer"
alignment = 0
[node name="GalleryButton" type="Button" parent="MarginContainer/VBoxContainer"]
[node name="GalleryButton" type="Button" parent="MarginContainer/CenterContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_top = NodePath("../EnemyViewerButton")
@@ -65,10 +101,24 @@ focus_neighbor_bottom = NodePath("../OptionsButton")
focus_next = NodePath("../OptionsButton")
focus_previous = NodePath("../EnemyViewerButton")
theme_override_colors/font_focus_color = Color(0.976471, 0.827451, 0, 1)
theme_override_fonts/font = ExtResource("2_dftre")
theme_override_font_sizes/font_size = 25
theme_override_styles/focus = ExtResource("2_2ijnm")
theme_override_styles/disabled_mirrored = ExtResource("3_dftre")
theme_override_styles/disabled = ExtResource("3_dftre")
theme_override_styles/hover_pressed_mirrored = ExtResource("3_dftre")
theme_override_styles/hover_pressed = ExtResource("3_dftre")
theme_override_styles/hover_mirrored = ExtResource("3_dftre")
theme_override_styles/hover = ExtResource("3_dftre")
theme_override_styles/pressed_mirrored = ExtResource("3_dftre")
theme_override_styles/pressed = ExtResource("3_dftre")
theme_override_styles/normal_mirrored = ExtResource("3_dftre")
theme_override_styles/normal = ExtResource("3_dftre")
shortcut = ExtResource("2_7fwjx")
text = "Gallery"
alignment = 0
[node name="OptionsButton" type="Button" parent="MarginContainer/VBoxContainer"]
[node name="OptionsButton" type="Button" parent="MarginContainer/CenterContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_top = NodePath("../GalleryButton")
@@ -76,10 +126,24 @@ focus_neighbor_bottom = NodePath("../QuitButton")
focus_next = NodePath("../QuitButton")
focus_previous = NodePath("../GalleryButton")
theme_override_colors/font_focus_color = Color(0.976471, 0.827451, 0, 1)
theme_override_fonts/font = ExtResource("2_dftre")
theme_override_font_sizes/font_size = 25
theme_override_styles/focus = ExtResource("2_2ijnm")
theme_override_styles/disabled_mirrored = ExtResource("3_dftre")
theme_override_styles/disabled = ExtResource("3_dftre")
theme_override_styles/hover_pressed_mirrored = ExtResource("3_dftre")
theme_override_styles/hover_pressed = ExtResource("3_dftre")
theme_override_styles/hover_mirrored = ExtResource("3_dftre")
theme_override_styles/hover = ExtResource("3_dftre")
theme_override_styles/pressed_mirrored = ExtResource("3_dftre")
theme_override_styles/pressed = ExtResource("3_dftre")
theme_override_styles/normal_mirrored = ExtResource("3_dftre")
theme_override_styles/normal = ExtResource("3_dftre")
shortcut = ExtResource("2_7fwjx")
text = "Options"
alignment = 0
[node name="QuitButton" type="Button" parent="MarginContainer/VBoxContainer"]
[node name="QuitButton" type="Button" parent="MarginContainer/CenterContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_top = NodePath("../OptionsButton")
@@ -87,6 +151,20 @@ focus_neighbor_bottom = NodePath(".")
focus_next = NodePath(".")
focus_previous = NodePath("../OptionsButton")
theme_override_colors/font_focus_color = Color(0.976471, 0.827451, 0, 1)
theme_override_fonts/font = ExtResource("2_dftre")
theme_override_font_sizes/font_size = 25
theme_override_styles/focus = ExtResource("2_2ijnm")
theme_override_styles/disabled_mirrored = ExtResource("3_dftre")
theme_override_styles/disabled = ExtResource("3_dftre")
theme_override_styles/hover_pressed_mirrored = ExtResource("3_dftre")
theme_override_styles/hover_pressed = ExtResource("3_dftre")
theme_override_styles/hover_mirrored = ExtResource("3_dftre")
theme_override_styles/hover = ExtResource("3_dftre")
theme_override_styles/pressed_mirrored = ExtResource("3_dftre")
theme_override_styles/pressed = ExtResource("3_dftre")
theme_override_styles/normal_mirrored = ExtResource("3_dftre")
theme_override_styles/normal = ExtResource("3_dftre")
shortcut = ExtResource("2_7fwjx")
text = "Quit
"
alignment = 0