-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainMenu.tscn
59 lines (49 loc) · 1.64 KB
/
MainMenu.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
[gd_scene load_steps=5 format=3 uid="uid://btwksx0wbthqb"]
[ext_resource type="Script" path="res://start_game.gd" id="1_ddi0j"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_807t2"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_36wmp"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_s7v2k"]
[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
[node name="Menu panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -187.0
offset_right = 187.0
offset_bottom = 648.0
grow_horizontal = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_807t2")
[node name="VBoxContainer" type="VBoxContainer" parent="Menu 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 = -62.0
offset_top = -89.0
offset_right = 62.0
offset_bottom = 89.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Menu panel/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
[node name="NewSes" type="Button" parent="Menu panel/VBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_styles/pressed = SubResource("StyleBoxEmpty_36wmp")
theme_override_styles/focus = SubResource("StyleBoxEmpty_s7v2k")
text = "New Game"
flat = true
script = ExtResource("1_ddi0j")
[connection signal="pressed" from="Menu panel/VBoxContainer/VBoxContainer/NewSes" to="Menu panel/VBoxContainer/VBoxContainer/NewSes" method="_on_pressed"]