-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathStartMenu.tscn
106 lines (92 loc) · 2.8 KB
/
StartMenu.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[gd_scene load_steps=7 format=2]
[ext_resource path="res://images/start_bg.png" type="Texture" id=1]
[ext_resource path="res://images/start_button.png" type="Texture" id=2]
[ext_resource path="res://StartButton.gd" type="Script" id=3]
[ext_resource path="res://images/quit_button.png" type="Texture" id=4]
[ext_resource path="res://QuitButton.gd" type="Script" id=5]
[ext_resource path="res://images/title.png" type="Texture" id=6]
[node name="StartMenu" type="Node" index="0"]
[node name="NinePatchRect" type="NinePatchRect" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 1024.0
margin_bottom = 768.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
texture = ExtResource( 1 )
[node name="StartButton" type="TextureButton" parent="NinePatchRect" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 416.0
margin_top = 320.0
margin_right = 608.0
margin_bottom = 345.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
texture_normal = ExtResource( 2 )
texture_pressed = ExtResource( 2 )
stretch_mode = 3
script = ExtResource( 3 )
_sections_unfolded = [ "Textures" ]
[node name="QuitButton" type="TextureButton" parent="NinePatchRect" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 426.0
margin_top = 409.0
margin_right = 594.0
margin_bottom = 434.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
texture_normal = ExtResource( 4 )
texture_pressed = ExtResource( 4 )
script = ExtResource( 5 )
_sections_unfolded = [ "Textures" ]
[node name="TextureRect" type="TextureRect" parent="NinePatchRect" index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 32.0
margin_top = 128.0
margin_right = 1332.0
margin_bottom = 256.0
rect_scale = Vector2( 0.75, 0.75 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
texture = ExtResource( 6 )
stretch_mode = 4
_sections_unfolded = [ "Rect" ]
[connection signal="pressed" from="NinePatchRect/StartButton" to="NinePatchRect/StartButton" method="_on_StartButton_pressed"]
[connection signal="pressed" from="NinePatchRect/QuitButton" to="NinePatchRect/QuitButton" method="_on_QuitButton_pressed"]