cirnogodot/Scenes/MainMenu.tscn
2025-02-19 13:34:15 +01:00

150 lines
5.1 KiB
Text

[gd_scene load_steps=13 format=3 uid="uid://5xajclchk3my"]
[ext_resource type="Script" path="res://Scripts/MainMenu.cs" id="1_702nk"]
[ext_resource type="PackedScene" uid="uid://bv451a8wgty4u" path="res://Scenes/test.tscn" id="2_6rjfu"]
[ext_resource type="Texture2D" uid="uid://xvadkvwajs0t" path="res://Sprites/UI/Crystal.png" id="2_j4e6a"]
[ext_resource type="Texture2D" uid="uid://dicat7qqa0a7o" path="res://Sprites/Portraits/CirnoTitle.png" id="2_mpelb"]
[ext_resource type="Texture2D" uid="uid://by38ufb51f6rx" path="res://Sprites/UI/TitleBackground.png" id="2_qdx0s"]
[ext_resource type="FontFile" uid="uid://ccm3u37q1hvux" path="res://fonts/Xolonium-Regular.ttf" id="3_bl0se"]
[ext_resource type="AudioStream" uid="uid://di416g5wgx6j0" path="res://Music/Title.mp3" id="4_i6ku4"]
[ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="4_nk7wn"]
[ext_resource type="PackedScene" uid="uid://bemu3l6b1e84y" path="res://Scenes/HUD/debug_menu.tscn" id="9_nwlsr"]
[sub_resource type="Theme" id="Theme_c7h4d"]
[sub_resource type="LabelSettings" id="LabelSettings_fb256"]
line_spacing = 0.0
font = ExtResource("3_bl0se")
font_size = 34
outline_size = 8
outline_color = Color(0, 0, 0, 1)
shadow_size = 9
shadow_offset = Vector2(16, 16)
[sub_resource type="LabelSettings" id="LabelSettings_htmja"]
line_spacing = 2.0
font = ExtResource("3_bl0se")
font_size = 12
outline_size = 4
outline_color = Color(0, 0, 0, 1)
[node name="Control" type="Control" node_paths=PackedStringArray("DebugMenuHolder")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 1.0
offset_bottom = -2.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_702nk")
GameScene = ExtResource("2_6rjfu")
MainMenuScene = "res://Scenes/MainMenu.tscn"
DebugMenuTemplate = ExtResource("9_nwlsr")
DebugMenuHolder = NodePath("Panel")
[node name="TextureRect2" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 320.0
offset_bottom = 160.0
texture = ExtResource("2_qdx0s")
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 0
offset_left = 113.0
offset_top = 16.0
offset_right = 161.0
offset_bottom = 56.0
texture = ExtResource("2_j4e6a")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 16.0
offset_right = -13.0
grow_horizontal = 2
grow_vertical = 2
[node name="GridContainer" type="GridContainer" parent="MarginContainer"]
layout_mode = 2
columns = 3
[node name="GameButtons" type="VBoxContainer" parent="MarginContainer/GridContainer"]
layout_mode = 2
size_flags_vertical = 6
[node name="StartButton" type="Button" parent="MarginContainer/GridContainer/GameButtons"]
layout_mode = 2
theme = ExtResource("4_nk7wn")
text = "Start"
[node name="DebugButton" type="Button" parent="MarginContainer/GridContainer/GameButtons"]
layout_mode = 2
theme = ExtResource("4_nk7wn")
text = "Debug"
[node name="ExitButton" type="Button" parent="MarginContainer/GridContainer/GameButtons"]
layout_mode = 2
theme = ExtResource("4_nk7wn")
text = "Exit
"
[node name="Title" type="HBoxContainer" parent="MarginContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/GridContainer/Title"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
theme_override_constants/separation = -9
[node name="Label" type="Label" parent="MarginContainer/GridContainer/Title/VBoxContainer"]
layout_mode = 2
theme = SubResource("Theme_c7h4d")
theme_override_fonts/font = ExtResource("3_bl0se")
theme_override_font_sizes/font_size = 28
text = "CIRNO"
label_settings = SubResource("LabelSettings_fb256")
horizontal_alignment = 1
[node name="Label2" type="Label" parent="MarginContainer/GridContainer/Title/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
text = "NO REASON"
label_settings = SubResource("LabelSettings_htmja")
horizontal_alignment = 1
[node name="TextureRect" type="TextureRect" parent="MarginContainer/GridContainer/Title/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("2_mpelb")
stretch_mode = 2
[node name="Options" type="VBoxContainer" parent="MarginContainer/GridContainer"]
layout_mode = 2
size_flags_vertical = 6
[node name="Button" type="Button" parent="MarginContainer/GridContainer/Options"]
layout_mode = 2
theme = ExtResource("4_nk7wn")
text = "Options"
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("4_i6ku4")
autoplay = true
[node name="Panel" type="PanelContainer" parent="."]
visible = false
layout_mode = 0
offset_left = 66.0
offset_top = 45.0
offset_right = 259.0
offset_bottom = 156.0
[connection signal="pressed" from="MarginContainer/GridContainer/GameButtons/StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="MarginContainer/GridContainer/GameButtons/DebugButton" to="." method="_on_debug_button_pressed"]
[connection signal="pressed" from="MarginContainer/GridContainer/GameButtons/ExitButton" to="." method="_on_exit_button_pressed"]