[gd_scene format=3 uid="uid://b8tj5ccjo6lqe"] [ext_resource type="Script" uid="uid://cyi0j3meewtyt" path="res://scripts/TitleScreen.cs" id="1_mgv04"] [ext_resource type="Texture2D" uid="uid://ghgridyqby8w" path="res://assets/backgrounds/EclipticSonata.png" id="2_t3h42"] [ext_resource type="Theme" uid="uid://d1gp4l4cwgtw4" path="res://resources/themes/button.tres" id="2_xbc5l"] [ext_resource type="FontFile" uid="uid://ch6s7n1ri81gt" path="res://assets/fonts/思源宋体.TTF" id="4_xoekp"] [ext_resource type="Theme" uid="uid://d0pi6io7y7tky" path="res://resources/themes/dialog.tres" id="6_bdtiy"] [ext_resource type="Texture2D" uid="uid://cy8hsxd2nn0i8" path="res://assets/EclipticSonataLogo.png" id="6_nf1md"] [ext_resource type="AudioStream" uid="uid://by67v6qb2rct1" path="res://assets/music/main1.mp3" id="7_3ej01"] [ext_resource type="PackedScene" uid="uid://b25umg4d0y13" path="res://resources/ui/SavedSelection.tscn" id="8_88cje"] [ext_resource type="Script" uid="uid://o6s6k2kojfe5" path="res://scenes/audio_stream_player.gd" id="8_w20ru"] [ext_resource type="AudioStream" uid="uid://bad5gahdr5j4n" path="res://assets/sound/button.mp3" id="10_1vfo2"] [ext_resource type="AudioStream" uid="uid://corefqbddmijy" path="res://assets/sound/select.mp3" id="11_hjcsb"] [sub_resource type="Animation" id="Animation_yw73o"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(64, -300)] } [sub_resource type="Animation" id="Animation_gm0ka"] resource_name = "flyin" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(64, -300), Vector2(64, 33)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_csld4"] _data = { &"RESET": SubResource("Animation_yw73o"), &"flyin": SubResource("Animation_gm0ka") } [sub_resource type="Animation" id="Animation_4v6qd"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(1520, 470)] } [sub_resource type="Animation" id="Animation_86lmj"] resource_name = "flyin" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(1520, 470), Vector2(1056, 470)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_5laux"] _data = { &"RESET": SubResource("Animation_4v6qd"), &"flyin": SubResource("Animation_86lmj") } [node name="TitleScreen" type="Node2D" unique_id=486042896 node_paths=PackedStringArray("StartGameButton", "LoadGameButton", "GameSettingsButton", "ExitGameButton", "StartConfirmationDialog", "ExitConfirmationDialog", "SavedSelection", "ButtonPlayer", "SelectPlayer")] script = ExtResource("1_mgv04") StartGameButton = NodePath("VBoxContainer/新的开始") LoadGameButton = NodePath("VBoxContainer/载入游戏") GameSettingsButton = NodePath("VBoxContainer/游戏设置") ExitGameButton = NodePath("VBoxContainer/退出游戏") StartConfirmationDialog = NodePath("StartNew?") ExitConfirmationDialog = NodePath("ExitGame?") SavedSelection = NodePath("SavedSelection") ButtonPlayer = NodePath("ButtonPlayer") SelectPlayer = NodePath("SelectPlayer") [node name="bg" type="Sprite2D" parent="." unique_id=1228377383] position = Vector2(640, 360) texture = ExtResource("2_t3h42") metadata/_edit_lock_ = true [node name="CopyRight" type="Label" parent="." unique_id=1451225559] offset_left = 8.0 offset_top = 688.0 offset_right = 272.0 offset_bottom = 717.0 theme_override_colors/font_color = Color(0.219608, 0.0823529, 0.254902, 1) theme_override_colors/font_shadow_color = Color(0.983899, 0.825836, 0.867247, 0.458824) theme_override_fonts/font = ExtResource("4_xoekp") theme_override_font_sizes/font_size = 18 text = "©2026 Milimoe. 米粒的糖果屋" horizontal_alignment = 1 vertical_alignment = 1 metadata/_edit_lock_ = true [node name="ExitGame?" type="ConfirmationDialog" parent="." unique_id=1410976409] title = "提示" theme = ExtResource("6_bdtiy") ok_button_text = "是" dialog_text = "是否退出游戏?" cancel_button_text = "否" [node name="StartNew?" type="ConfirmationDialog" parent="." unique_id=1897562920] auto_translate_mode = 1 title = "提示" theme = ExtResource("6_bdtiy") ok_button_text = "是" dialog_text = "开始新的游戏吗?" cancel_button_text = "否" [node name="EclipticSonataLogo" type="TextureRect" parent="." unique_id=1646132829] offset_left = 64.0 offset_top = -300.0 offset_right = 940.0 offset_bottom = 30.0 scale = Vector2(0.7, 0.7) texture = ExtResource("6_nf1md") metadata/_edit_lock_ = true [node name="AnimationPlayer" type="AnimationPlayer" parent="EclipticSonataLogo" unique_id=1935482813] libraries/ = SubResource("AnimationLibrary_csld4") autoplay = &"flyin" playback_auto_capture = false playback_default_blend_time = 0.3 [node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=585678813] offset_left = 1520.0 offset_top = 470.0 offset_right = 1656.0 offset_bottom = 702.0 metadata/_edit_lock_ = true [node name="新的开始" type="Button" parent="VBoxContainer" unique_id=88592048] layout_mode = 2 theme = ExtResource("2_xbc5l") text = "新的开始" flat = true icon_alignment = 1 metadata/_edit_lock_ = true [node name="载入游戏" type="Button" parent="VBoxContainer" unique_id=762912014] layout_mode = 2 theme = ExtResource("2_xbc5l") text = "载入游戏" flat = true icon_alignment = 1 metadata/_edit_lock_ = true [node name="游戏设置" type="Button" parent="VBoxContainer" unique_id=1806920198] layout_mode = 2 theme = ExtResource("2_xbc5l") text = "游戏设置" flat = true icon_alignment = 1 metadata/_edit_lock_ = true [node name="退出游戏" type="Button" parent="VBoxContainer" unique_id=100760810] layout_mode = 2 theme = ExtResource("2_xbc5l") text = "退出游戏" flat = true icon_alignment = 1 metadata/_edit_lock_ = true [node name="AnimationPlayer" type="AnimationPlayer" parent="VBoxContainer" unique_id=1011201155] callback_mode_method = 1 libraries/ = SubResource("AnimationLibrary_5laux") autoplay = &"flyin" playback_auto_capture = false playback_default_blend_time = 0.3 [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1368992756] stream = ExtResource("7_3ej01") volume_db = -8.0 autoplay = true script = ExtResource("8_w20ru") autoPlay = true [node name="SavedSelection" parent="." unique_id=2048079397 node_paths=PackedStringArray("Parent") instance=ExtResource("8_88cje")] visible = false Parent = NodePath("..") [node name="ColorRect" type="ColorRect" parent="." unique_id=348732101] visible = false offset_right = 1280.0 offset_bottom = 720.0 color = Color(0, 0, 0, 1) metadata/_edit_lock_ = true [node name="ButtonPlayer" type="AudioStreamPlayer" parent="." unique_id=546906284] stream = ExtResource("10_1vfo2") volume_db = -8.0 [node name="SelectPlayer" type="AudioStreamPlayer" parent="." unique_id=321658143] stream = ExtResource("11_hjcsb") volume_db = -8.0