-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainMenu.tscn
59 lines (49 loc) · 1.56 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=2 format=3 uid="uid://0mdqlyjfw1r"]
[ext_resource type="Script" path="res://MainMenu.gd" id="1_52hn6"]
[node name="Node2D" type="Node2D"]
[node name="MainMenu" type="Node2D" parent="."]
position = Vector2(14, 46)
script = ExtResource("1_52hn6")
[node name="ColorRect" type="ColorRect" parent="MainMenu"]
offset_left = -326.0
offset_top = -214.0
offset_right = 1227.0
offset_bottom = 721.0
metadata/_edit_use_anchors_ = true
[node name="OptionsButton" type="Button" parent="MainMenu"]
offset_left = 349.0
offset_top = 186.0
offset_right = 789.0
offset_bottom = 369.0
action_mode = 0
text = "Options
"
metadata/_edit_use_anchors_ = true
[node name="ExitButton" type="Button" parent="MainMenu"]
offset_left = 350.0
offset_top = 411.0
offset_right = 790.0
offset_bottom = 594.0
text = "Exit
"
metadata/_edit_use_anchors_ = true
[node name="StartGameButton" type="Button" parent="MainMenu"]
offset_left = 344.0
offset_top = -42.0
offset_right = 784.0
offset_bottom = 141.0
text = "Start Game"
metadata/_edit_use_anchors_ = true
[node name="TextEdit" type="TextEdit" parent="MainMenu"]
offset_left = 342.0
offset_top = -185.0
offset_right = 541.0
offset_bottom = -147.0
text = "Gra
"
placeholder_text = "Gra
"
metadata/_edit_use_anchors_ = true
[connection signal="pressed" from="MainMenu/OptionsButton" to="MainMenu" method="_on_options_button_pressed"]
[connection signal="pressed" from="MainMenu/ExitButton" to="MainMenu" method="_on_exit_button_pressed"]
[connection signal="pressed" from="MainMenu/StartGameButton" to="MainMenu" method="_on_start_game_button_pressed"]