-
Notifications
You must be signed in to change notification settings - Fork 4
/
HUD.tscn
193 lines (169 loc) · 5.18 KB
/
HUD.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
[gd_scene load_steps=5 format=2]
[ext_resource path="res://HUD.gd" type="Script" id=1]
[ext_resource path="res://PausedPopup.gd" type="Script" id=2]
[ext_resource path="res://LSBottomButtons.gd" type="Script" id=3]
[ext_resource path="res://images/hud_buttons/back@3x.png" type="Texture" id=4]
[node name="HUD" type="Node2D" index="0"]
script = ExtResource( 1 )
_sections_unfolded = [ "Transform" ]
[node name="Button" type="Button" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 470.0
margin_top = 19.0
margin_right = 579.0
margin_bottom = 70.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
text = "pause"
flat = false
align = 1
[node name="PausedPopup" type="Popup" parent="." index="1"]
pause_mode = 2
visible = false
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 40.0
margin_top = 17.0
margin_right = 544.0
margin_bottom = 580.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
popup_exclusive = false
script = ExtResource( 2 )
_sections_unfolded = [ "Pause" ]
[node name="Label" type="Label" parent="PausedPopup" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 75.0
margin_top = 67.0
margin_right = 426.0
margin_bottom = 485.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 = 4
text = "paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused paused "
autowrap = true
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="Button" type="Button" parent="PausedPopup" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 177.0
margin_top = 365.0
margin_right = 285.0
margin_bottom = 408.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
text = "GO"
flat = false
align = 1
[node name="LSBottomButtons" type="Container" parent="." index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 1242.0
margin_bottom = 2688.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
script = ExtResource( 3 )
_sections_unfolded = [ "Mouse" ]
[node name="BackButton" type="TextureButton" parent="LSBottomButtons" index="0"]
anchor_left = 0.0
anchor_top = 1.0
anchor_right = 0.0
anchor_bottom = 1.0
margin_top = -127.0
margin_right = 128.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 )
_sections_unfolded = [ "Textures" ]
[node name="TextureButton2" type="TextureButton" parent="LSBottomButtons" index="1"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -20.0
margin_top = -40.0
margin_right = 20.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
[node name="TextureButton3" type="TextureButton" parent="LSBottomButtons" index="2"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -40.0
margin_top = -40.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
[connection signal="pressed" from="Button" to="PausedPopup" method="_on_PauseButton_pressed"]
[connection signal="pressed" from="PausedPopup/Button" to="PausedPopup" method="_on_UnpauseButton_pressed"]
[connection signal="pressed" from="LSBottomButtons/BackButton" to="LSBottomButtons" method="_on_BackButton_pressed"]