209 lines
6.5 KiB
Plaintext
209 lines
6.5 KiB
Plaintext
[gd_scene load_steps=15 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://l6k3d3408tj" path="res://assets/music/Wolfgang Amadeus Mozart - 莫扎特 摇篮曲.mp3" id="7_68hpm"]
|
|
[ext_resource type="PackedScene" uid="uid://b25umg4d0y13" path="res://resources/ui/SavedSelection.tscn" id="8_88cje"]
|
|
|
|
[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" node_paths=PackedStringArray("StartGameButton", "LoadGameButton", "GameSettingsButton", "ExitGameButton", "StartConfirmationDialog", "ExitConfirmationDialog", "SavedSelection")]
|
|
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")
|
|
|
|
[node name="bg" type="Sprite2D" parent="."]
|
|
position = Vector2(640, 360)
|
|
texture = ExtResource("2_t3h42")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="CopyRight" type="Label" parent="."]
|
|
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 = "©2025 Milimoe. 米粒的糖果屋"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="ExitGame?" type="ConfirmationDialog" parent="."]
|
|
title = "提示"
|
|
theme = ExtResource("6_bdtiy")
|
|
ok_button_text = "是"
|
|
dialog_text = "是否退出游戏?"
|
|
cancel_button_text = "否"
|
|
|
|
[node name="StartNew?" type="ConfirmationDialog" parent="."]
|
|
auto_translate_mode = 1
|
|
title = "提示"
|
|
theme = ExtResource("6_bdtiy")
|
|
ok_button_text = "是"
|
|
dialog_text = "开始新的游戏吗?"
|
|
cancel_button_text = "否"
|
|
|
|
[node name="EclipticSonataLogo" type="TextureRect" parent="."]
|
|
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"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_csld4")
|
|
}
|
|
autoplay = "flyin"
|
|
playback_auto_capture = false
|
|
playback_default_blend_time = 0.3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
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"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_xbc5l")
|
|
text = "新的开始"
|
|
flat = true
|
|
icon_alignment = 1
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="载入游戏" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_xbc5l")
|
|
text = "载入游戏"
|
|
flat = true
|
|
icon_alignment = 1
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="游戏设置" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_xbc5l")
|
|
text = "游戏设置"
|
|
flat = true
|
|
icon_alignment = 1
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="退出游戏" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_xbc5l")
|
|
text = "退出游戏"
|
|
flat = true
|
|
icon_alignment = 1
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="VBoxContainer"]
|
|
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="."]
|
|
stream = ExtResource("7_68hpm")
|
|
volume_db = -8.0
|
|
autoplay = true
|
|
parameters/looping = true
|
|
|
|
[node name="SavedSelection" parent="." node_paths=PackedStringArray("Parent") instance=ExtResource("8_88cje")]
|
|
visible = false
|
|
Parent = NodePath("..")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
visible = false
|
|
offset_right = 1280.0
|
|
offset_bottom = 720.0
|
|
color = Color(0, 0, 0, 1)
|
|
metadata/_edit_lock_ = true
|