GodotDemo/MainMenu2.tscn

79 lines
2 KiB
Text
Raw Normal View History

2023-11-05 17:45:37 +01:00
[gd_scene load_steps=3 format=3 uid="uid://33xarvcgvyix"]
[ext_resource type="Script" path="res://MainMenuScript.gd" id="1_j2uwo"]
[ext_resource type="PackedScene" uid="uid://djf10pcubimfn" path="res://Stable movement.tscn" id="2_liq4p"]
[node name="MainMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.368627, 0.368627, 0.368627, 1)
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -456.0
offset_top = 75.0
offset_right = 457.0
offset_bottom = 208.0
grow_horizontal = 2
[node name="Title" type="Label" parent="VBoxContainer2"]
layout_mode = 2
theme_override_font_sizes/font_size = 95
text = "Cultivation Survival"
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -301.0
offset_top = -68.0
offset_right = 301.0
offset_bottom = 252.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_j2uwo")
scenetoLoad = ExtResource("2_liq4p")
[node name="New Game" type="Button" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 4
size_flags_stretch_ratio = 0.0
theme_override_font_sizes/font_size = 70
text = "New Game"
icon_alignment = 1
expand_icon = true
[node name="Option" type="Button" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 4
theme_override_font_sizes/font_size = 70
text = "Options"
[node name="Exit" type="Button" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 4
theme_override_font_sizes/font_size = 70
text = "Exit
"
[connection signal="pressed" from="VBoxContainer/New Game" to="VBoxContainer" method="_on_new_game_pressed"]
[connection signal="pressed" from="VBoxContainer/Exit" to="VBoxContainer" method="_on_exit_pressed"]