forked from olinic/godot-fps-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.tscn
63 lines (54 loc) · 1.76 KB
/
menu.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[gd_scene load_steps=2 format=3 uid="uid://c5rfghacryxlw"]
[ext_resource type="Script" path="res://Menu.cs" id="1_ebtuw"]
[node name="Menu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ebtuw")
[node name="Panel" type="Panel" parent="."]
layout_mode = 0
offset_right = 1153.0
offset_bottom = 647.0
[node name="MarginContainer" type="MarginContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -33.5
offset_top = -43.5
offset_right = 33.5
offset_bottom = 43.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 8
size_flags_vertical = 8
theme_override_constants/margin_left = 13
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 13
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 8
[node name="Start Button" type="Button" parent="Panel/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(138, 47)
layout_mode = 2
text = "Start"
[node name="Quit Button" type="Button" parent="Panel/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(138, 47)
layout_mode = 2
text = "Quit"
[node name="RichTextLabel" type="RichTextLabel" parent="."]
layout_mode = 0
offset_left = 531.0
offset_top = 19.0
offset_right = 672.0
offset_bottom = 59.0
text = "Main Menu"
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/Start Button" to="." method="OnStartButtonPressed"]
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/Quit Button" to="." method="OnQuitButtonPressed"]