[gd_scene load_steps=9 format=3 uid="uid://vd8ovfqb4bkq"] [ext_resource type="Script" path="res://scene/start_the_game.gd" id="1_ivvmj"] [ext_resource type="Texture2D" uid="uid://bxpr6jpaoc851" path="res://res/ui/ui_001_start/bg.png" id="1_nr2kd"] [ext_resource type="Texture2D" uid="uid://770dcxkygn8b" path="res://res/ui/ui_001_start/title.png" id="2_c0f48"] [ext_resource type="Texture2D" uid="uid://bbamxd1q6qwkd" path="res://res/ui/ui_001_start/button_0.png" id="3_ljvo4"] [ext_resource type="Texture2D" uid="uid://syusk0q7y0jv" path="res://res/ui/ui_001_start/choice.png" id="5_yiext"] [ext_resource type="PackedScene" uid="uid://ln0ri824gh2c" path="res://scene/save_and_load.tscn" id="6_8wpd4"] [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_m4deq"] content_margin_left = 102.0 content_margin_top = 34.0 content_margin_right = 102.0 content_margin_bottom = 13.0 texture = ExtResource("3_ljvo4") [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_6w1ki"] content_margin_left = 82.0 content_margin_top = 26.0 content_margin_right = 97.0 content_margin_bottom = 7.0 texture = ExtResource("3_ljvo4") [node name="Control" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 script = ExtResource("1_ivvmj") [node name="TextureRect" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("1_nr2kd") expand_mode = 1 stretch_mode = 6 [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme_override_constants/margin_top = 211 [node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 mouse_filter = 2 theme_override_constants/separation = 66 [node name="TextureRect2" type="TextureRect" parent="MarginContainer/VBoxContainer2"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 mouse_filter = 2 texture = ExtResource("2_c0f48") metadata/_edit_use_anchors_ = true [node name="Label" type="Label" parent="MarginContainer/VBoxContainer2/TextureRect2"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_font_sizes/font_size = 190 text = "剧本模拟器" horizontal_alignment = 1 vertical_alignment = 1 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer2"] layout_mode = 2 mouse_filter = 2 metadata/_edit_use_anchors_ = true [node name="Button" type="Button" parent="MarginContainer/VBoxContainer2/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 focus_mode = 0 theme_override_font_sizes/font_size = 61 theme_override_styles/hover = SubResource("StyleBoxTexture_m4deq") theme_override_styles/pressed = SubResource("StyleBoxTexture_m4deq") theme_override_styles/normal = SubResource("StyleBoxTexture_m4deq") text = "开始游戏" icon_alignment = 1 [node name="Button2" type="Button" parent="MarginContainer/VBoxContainer2/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 focus_mode = 0 theme_override_font_sizes/font_size = 50 theme_override_styles/hover = SubResource("StyleBoxTexture_6w1ki") theme_override_styles/pressed = SubResource("StyleBoxTexture_6w1ki") theme_override_styles/normal = SubResource("StyleBoxTexture_6w1ki") text = "继续游戏" icon_alignment = 1 [node name="Button3" type="Button" parent="MarginContainer/VBoxContainer2/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 focus_mode = 0 theme_override_font_sizes/font_size = 50 theme_override_styles/hover = SubResource("StyleBoxTexture_6w1ki") theme_override_styles/pressed = SubResource("StyleBoxTexture_6w1ki") theme_override_styles/normal = SubResource("StyleBoxTexture_6w1ki") text = "设置" icon_alignment = 1 [node name="Button4" type="Button" parent="MarginContainer/VBoxContainer2/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 focus_mode = 0 theme_override_font_sizes/font_size = 50 theme_override_styles/hover = SubResource("StyleBoxTexture_6w1ki") theme_override_styles/pressed = SubResource("StyleBoxTexture_6w1ki") theme_override_styles/normal = SubResource("StyleBoxTexture_6w1ki") text = "退出" icon_alignment = 1 [node name="TextureRect2" type="TextureRect" parent="."] layout_mode = 0 offset_left = 646.0 offset_top = 617.5 offset_right = 723.0 offset_bottom = 701.5 pivot_offset = Vector2(38, 42) mouse_filter = 2 texture = ExtResource("5_yiext") [node name="TextureRect3" type="TextureRect" parent="."] layout_mode = 0 offset_left = 1198.0 offset_top = 617.5 offset_right = 1275.0 offset_bottom = 701.5 scale = Vector2(-1, 1) pivot_offset = Vector2(38, 42) mouse_filter = 2 texture = ExtResource("5_yiext") [node name="save_and_load" parent="." instance=ExtResource("6_8wpd4")] visible = false layout_mode = 1 [connection signal="mouse_entered" from="MarginContainer/VBoxContainer2/VBoxContainer/Button" to="." method="_on_button_mouse_entered"] [connection signal="pressed" from="MarginContainer/VBoxContainer2/VBoxContainer/Button" to="." method="_on_button_pressed"] [connection signal="mouse_entered" from="MarginContainer/VBoxContainer2/VBoxContainer/Button2" to="." method="_on_button_2_mouse_entered"] [connection signal="mouse_entered" from="MarginContainer/VBoxContainer2/VBoxContainer/Button3" to="." method="_on_button_3_mouse_entered"] [connection signal="mouse_entered" from="MarginContainer/VBoxContainer2/VBoxContainer/Button4" to="." method="_on_button_4_mouse_entered"] [connection signal="pressed" from="MarginContainer/VBoxContainer2/VBoxContainer/Button4" to="." method="_on_button_4_pressed"]