frame-of-mind/src/main_menu.tscn

436 lines
12 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=18 format=3 uid="uid://b51wdql4mby47"]
2024-09-27 20:00:19 +00:00
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/handwriting.theme" id="1_2dg4n"]
[ext_resource type="Script" uid="uid://c3o65t2rwpbtn" path="res://logic-scenes/main menu/main_menu.gd" id="2_rm576"]
2024-09-27 20:00:19 +00:00
[ext_resource type="PackedScene" uid="uid://gmxenhavh1lp" path="res://logic-scenes/main menu/video_settings.tscn" id="3_f0dcd"]
[ext_resource type="Texture2D" uid="uid://d3ewjumh0b0g6" path="res://logic-scenes/main menu/logo.png" id="3_xb2np"]
[ext_resource type="Script" uid="uid://sa15wakvpj2e" path="res://dev-util/bug_button.gd" id="4_j5v2v"]
[ext_resource type="Script" uid="uid://byiih47fi6740" path="res://dev-util/settings_popup.gd" id="4_k8jo0"]
[ext_resource type="PackedScene" uid="uid://dfhkfocy8axb8" path="res://logic-scenes/main menu/audio_settings.tscn" id="4_o07mg"]
[ext_resource type="Script" uid="uid://0tb763w0vfv7" path="res://tab_container.gd" id="5_lhfti"]
[ext_resource type="PackedScene" uid="uid://b3wlecqvelh22" path="res://logic-scenes/main menu/acessability_settings.tscn" id="6_875a3"]
[ext_resource type="PackedScene" uid="uid://dxwqkxq6qjk7i" path="res://logic-scenes/main menu/gameplay_settings.tscn" id="6_p7ypt"]
[ext_resource type="PackedScene" uid="uid://chal0ioagspx0" path="res://logic-scenes/main menu/content_settings.tscn" id="7_pnd48"]
[ext_resource type="Script" uid="uid://dugfwcvp7i01k" path="res://logic-scenes/main menu/save_game_list.gd" id="8_o0cpj"]
2024-09-27 20:00:19 +00:00
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_njt06"]
[sub_resource type="Animation" id="Animation_3pjwp"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("../../Decoration/decoration: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)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("../../Decoration/decoration:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [1.26885]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("..:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("../..:scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(1, 0.57)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("../..:self_modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("../..:visible")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
[sub_resource type="Animation" id="Animation_i4c5w"]
resource_name = "reveal"
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("../../Decoration/decoration:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.4, 1.03333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("../../Decoration/decoration:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.0333333, 1.76667),
"transitions": PackedFloat32Array(0.353554, 1),
"update": 0,
"values": [0.610865, 0.347321]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("..:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.266667, 0.533333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("../..:scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 0.866667),
"transitions": PackedFloat32Array(0.277392, 1),
"update": 0,
"values": [Vector2(1, 0.57), Vector2(1, 1)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("../..:self_modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 1.03333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("../..:visible")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
[sub_resource type="Animation" id="Animation_a3iyq"]
resource_name = "vanish"
length = 1.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("../..:self_modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.333333, 0.633333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("../..:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(1, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("../../Decoration/decoration:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.133333, 1.46667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("../../Decoration/decoration:rotation")
tracks/3/interp = 2
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 0.266667, 1.43333),
"transitions": PackedFloat32Array(1, 2.21914, 1),
"update": 0,
"values": [0.347507, 0.174533, 1.03847]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("..:modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0.1, 0.433333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("../..:visible")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0, 1.5),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [true, false]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_lmxul"]
_data = {
&"RESET": SubResource("Animation_3pjwp"),
&"reveal": SubResource("Animation_i4c5w"),
&"vanish": SubResource("Animation_a3iyq")
}
2024-09-27 20:00:19 +00:00
[node name="Main Menu" type="Panel"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_2dg4n")
theme_override_styles/panel = SubResource("StyleBoxEmpty_njt06")
script = ExtResource("2_rm576")
2024-09-27 20:00:19 +00:00
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
2025-03-25 21:33:01 +00:00
anchors_preset = -1
2024-09-27 20:00:19 +00:00
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
2025-03-25 21:33:01 +00:00
offset_left = -437.0
offset_top = -434.0
offset_right = 587.0
offset_bottom = 590.0
2024-09-27 20:00:19 +00:00
grow_horizontal = 0
grow_vertical = 0
2025-03-25 21:33:01 +00:00
scale = Vector2(0.4, 0.4)
2024-09-27 20:00:19 +00:00
texture = ExtResource("3_xb2np")
[node name="PanelContainer" type="VBoxContainer" parent="."]
layout_mode = 1
offset_left = 67.0
offset_top = 70.0
offset_right = 319.0
offset_bottom = 270.0
[node name="NewGameButton" type="Button" parent="PanelContainer"]
2024-09-27 20:00:19 +00:00
layout_mode = 2
text = "new Game"
[node name="ContinueGameButton" type="Button" parent="PanelContainer"]
2024-09-27 20:00:19 +00:00
layout_mode = 2
text = "continue"
[node name="LoadGameButton" type="Button" parent="PanelContainer"]
2024-09-27 20:00:19 +00:00
layout_mode = 2
text = "load"
[node name="SettingsButton" type="MenuButton" parent="PanelContainer"]
2024-09-27 20:00:19 +00:00
layout_mode = 2
text = "settings"
2024-09-27 20:00:19 +00:00
flat = false
item_count = 5
popup/item_0/text = "Accessibility"
2025-03-25 21:33:01 +00:00
popup/item_0/id = 0
popup/item_1/text = "Video"
2024-09-27 20:00:19 +00:00
popup/item_1/id = 1
popup/item_2/text = "Audio"
2024-09-27 20:00:19 +00:00
popup/item_2/id = 2
popup/item_3/text = "Gameplay"
popup/item_3/id = 3
popup/item_4/text = "Content Notes"
popup/item_4/id = 4
2024-09-27 20:00:19 +00:00
[node name="CreditsButton" type="Button" parent="PanelContainer"]
layout_mode = 2
tooltip_text = "Plays the Game Credits"
text = "Attribution"
[node name="BugButton" type="Button" parent="PanelContainer"]
layout_mode = 2
script = ExtResource("4_j5v2v")
metadata/_custom_type_script = "uid://sa15wakvpj2e"
[node name="QuitButton" type="Button" parent="PanelContainer"]
layout_mode = 2
text = "quit"
[node name="SettingsPopup" type="PanelContainer" parent="."]
unique_name_in_owner = true
visible = false
self_modulate = Color(1, 1, 1, 0)
2024-09-27 20:00:19 +00:00
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -474.0
offset_top = -438.0
offset_right = 293.0
offset_bottom = 335.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(1, 0.57)
script = ExtResource("4_k8jo0")
[node name="AnimationPlayer" type="AnimationPlayer" parent="SettingsPopup"]
root_node = NodePath("../TabContainer/Video Settings")
libraries = {
2025-03-25 21:33:01 +00:00
&"": SubResource("AnimationLibrary_lmxul")
}
autoplay = "RESET"
[node name="Decoration" type="Control" parent="SettingsPopup"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="decoration" type="PanelContainer" parent="SettingsPopup/Decoration"]
modulate = Color(1, 1, 1, 0)
layout_mode = 2
offset_left = -374.0
offset_top = -378.5
offset_right = 365.0
offset_bottom = 374.5
2024-09-27 20:00:19 +00:00
grow_horizontal = 2
grow_vertical = 2
rotation = 1.26885
pivot_offset = Vector2(374, 378.5)
2024-09-27 20:00:19 +00:00
[node name="TabContainer" type="TabContainer" parent="SettingsPopup"]
modulate = Color(1, 1, 1, 0)
2024-09-27 20:00:19 +00:00
layout_mode = 2
current_tab = 2
2024-09-27 20:00:19 +00:00
use_hidden_tabs_for_min_size = true
script = ExtResource("5_lhfti")
2024-09-27 20:00:19 +00:00
[node name="Accessibility" parent="SettingsPopup/TabContainer" instance=ExtResource("6_875a3")]
unique_name_in_owner = true
visible = false
layout_mode = 2
[node name="Video Settings" parent="SettingsPopup/TabContainer" instance=ExtResource("3_f0dcd")]
unique_name_in_owner = true
visible = false
2024-09-27 20:00:19 +00:00
layout_mode = 2
metadata/_tab_index = 1
2024-09-27 20:00:19 +00:00
[node name="Audio Settings" parent="SettingsPopup/TabContainer" instance=ExtResource("4_o07mg")]
unique_name_in_owner = true
layout_mode = 2
metadata/_tab_index = 2
[node name="Gameplay Settings" parent="SettingsPopup/TabContainer" instance=ExtResource("6_p7ypt")]
unique_name_in_owner = true
visible = false
layout_mode = 2
metadata/_tab_index = 3
[node name="Content Notes" parent="SettingsPopup/TabContainer" instance=ExtResource("7_pnd48")]
unique_name_in_owner = true
visible = false
layout_mode = 2
metadata/_tab_index = 4
[node name="SaveGameHandle" type="CenterContainer" parent="."]
unique_name_in_owner = true
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2025-03-25 21:33:01 +00:00
mouse_filter = 2
script = ExtResource("8_o0cpj")
2025-03-25 21:33:01 +00:00
metadata/_custom_type_script = "uid://dugfwcvp7i01k"
[node name="CenterContainer" type="CenterContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ScrollContainer" type="ScrollContainer" parent="CenterContainer"]
clip_contents = false
custom_minimum_size = Vector2(0, 900)
layout_mode = 2
horizontal_scroll_mode = 0
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/ScrollContainer"]
layout_mode = 2
theme_override_constants/separation = 0