Files
Game/components/Menus/Main.tscn
T

113 lines
3.4 KiB
Plaintext
Raw Normal View History

[gd_scene format=3 uid="uid://3mu73nyxqj7l"]
[ext_resource type="PackedScene" uid="uid://cpaa0vcxwar3i" path="res://components/Abstracts/BaseMenu.tscn" id="1_2cmx8"]
[ext_resource type="VideoStream" uid="uid://cnnnx6f2j5npp" path="res://resources/animation/background.ogv" id="2_puagb"]
[ext_resource type="Texture2D" uid="uid://d2ikr66k3hpsm" path="res://resources/logo/losing-mind-invert.png" id="3_puagb"]
[sub_resource type="Animation" id="Animation_5ifwo"]
length = 0.001
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("content/logo:offset_left")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(-100, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("content/logo:modulate:a")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
[sub_resource type="Animation" id="Animation_puagb"]
resource_name = "enter"
step = 0.05
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("content/logo:offset_left")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0, 2),
"points": PackedFloat32Array(-200, 0, 0, 0, 0, 0, -0.15, 0, 0, 0),
"times": PackedFloat32Array(0, 0.25)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("content/logo:modulate:a")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(2, 2),
"points": PackedFloat32Array(0, 0, 0, 0, 0, 1, -0.15, 0, 0, 0),
"times": PackedFloat32Array(0, 0.25)
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_5ifwo"]
_data = {
&"RESET": SubResource("Animation_5ifwo"),
&"enter": SubResource("Animation_puagb")
}
[node name="MainMenu" unique_id=1823905463 instance=ExtResource("1_2cmx8")]
backgroundColor = Color(1, 1, 1, 0)
[node name="animator" parent="." index="0" unique_id=204407114]
libraries/ = SubResource("AnimationLibrary_5ifwo")
[node name="background" parent="." index="1" unique_id=1236798550]
color = Color(1, 1, 1, 0)
[node name="background" type="VideoStreamPlayer" parent="content" parent_id_path=PackedInt32Array(1993984611) index="0" unique_id=448862813]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
stream = ExtResource("2_puagb")
autoplay = true
expand = true
loop = true
[node name="logo" type="TextureRect" parent="content" parent_id_path=PackedInt32Array(1993984611) index="1" unique_id=1126334390]
modulate = Color(1, 1, 1, 0)
layout_mode = 1
anchors_preset = -1
anchor_left = 0.05
anchor_top = 0.1
anchor_right = 0.05
anchor_bottom = 0.1
offset_left = -100.0
offset_right = 592.0
offset_bottom = 176.0
texture = ExtResource("3_puagb")
stretch_mode = 4
[node name="buttons" type="VBoxContainer" parent="content" parent_id_path=PackedInt32Array(1993984611) index="2" unique_id=2029610714]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.05
anchor_top = 0.95
anchor_right = 0.05
anchor_bottom = 0.95
offset_top = -40.0
offset_right = 40.0
grow_vertical = 0
[node name="startGame" type="Button" parent="content/buttons" index="0" unique_id=1946692760]
layout_mode = 2
text = "开始游戏"