Files
fallingshrimp 6439b6712b chore: 初始化游戏项目基础框架与菜单系统
新增了基础菜单抽象类、主题配置、开场与主菜单场景,添加了所需的资源文件与项目配置,完善了项目基础结构
2026-07-30 20:04:31 +08:00

148 lines
4.0 KiB
Plaintext

[gd_scene format=3 uid="uid://drfuhbhan42q8"]
[ext_resource type="PackedScene" uid="uid://cpaa0vcxwar3i" path="res://components/Abstracts/BaseMenu.tscn" id="1_ciyig"]
[ext_resource type="Texture2D" uid="uid://c1jdhinrkkif4" path="res://resources/logo/studio.jpg" id="2_wnodh"]
[ext_resource type="Texture2D" uid="uid://84tagbhaf8bi" path="res://resources/logo/losing-mind.png" id="3_ndv0w"]
[sub_resource type="Animation" id="Animation_827xn"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("content/studioLogo:modulate:a")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0.0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("content/gameLogo:modulate:a")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0.0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:modulate:a")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [1.0]
}
[sub_resource type="Animation" id="Animation_bv3ut"]
resource_name = "spawn"
length = 12.0
step = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("content/studioLogo:modulate:a")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1, 4, 5),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [0.0, 1.0, 1.0, 0.0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("content/gameLogo:modulate:a")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 6, 7, 10, 11),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [0.0, 0.0, 1.0, 1.0, 0.0]
}
tracks/2/type = "method"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(12),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"queue_free"
}]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath(".:modulate:a")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 11, 12),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [1.0, 1.0, 0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_wnodh"]
_data = {
&"RESET": SubResource("Animation_827xn"),
&"spawn": SubResource("Animation_bv3ut")
}
[node name="StartMenu" unique_id=1823905463 instance=ExtResource("1_ciyig")]
[node name="animator" parent="." index="0" unique_id=204407114]
libraries/ = SubResource("AnimationLibrary_wnodh")
autoplay = &"spawn"
[node name="background" type="ColorRect" parent="content" parent_id_path=PackedInt32Array(1993984611) index="0" unique_id=2115224193]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="studioLogo" type="TextureRect" parent="content" parent_id_path=PackedInt32Array(1993984611) index="1" unique_id=900485145]
modulate = Color(1, 1, 1, 0)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.5, 0.5)
pivot_offset_ratio = Vector2(0.5, 0.5)
texture = ExtResource("2_wnodh")
expand_mode = 1
stretch_mode = 5
[node name="gameLogo" type="TextureRect" parent="content" parent_id_path=PackedInt32Array(1993984611) index="2" unique_id=1468758261]
modulate = Color(1, 1, 1, 0)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.5, 0.5)
pivot_offset_ratio = Vector2(0.5, 0.5)
texture = ExtResource("3_ndv0w")
expand_mode = 1
stretch_mode = 5