-
Notifications
You must be signed in to change notification settings - Fork 1
/
Spatial.tscn
283 lines (246 loc) · 7.97 KB
/
Spatial.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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
[gd_scene load_steps=16 format=2]
[ext_resource path="res://Camera.tscn" type="PackedScene" id=1]
[ext_resource path="res://select.gd" type="Script" id=2]
[ext_resource path="res://Untitled79_20210203220420.png" type="Texture" id=3]
[ext_resource path="res://green.tres" type="Material" id=4]
[ext_resource path="res://Panel.gd" type="Script" id=5]
[ext_resource path="res://X.png" type="Texture" id=6]
[ext_resource path="res://round.png" type="Texture" id=7]
[ext_resource path="res://good.png" type="Texture" id=8]
[ext_resource path="res://coin.png" type="Texture" id=9]
[ext_resource path="res://delete.png" type="Texture" id=10]
[sub_resource type="CubeMesh" id=1]
[sub_resource type="BoxShape" id=2]
[sub_resource type="SpatialMaterial" id=3]
albedo_color = Color( 0.101961, 0.517647, 0.0862745, 1 )
[sub_resource type="PlaneMesh" id=4]
material = SubResource( 3 )
[sub_resource type="Skin" id=5]
[node name="Spatial" type="Spatial"]
__meta__ = {
"_edit_horizontal_guides_": [ ]
}
[node name="select" type="MeshInstance" parent="."]
transform = Transform( 2, 0, 0, 0, 0.5, 0, 0, 0, 2, 0, 1, 0 )
visible = false
mesh = SubResource( 1 )
material/0 = ExtResource( 4 )
script = ExtResource( 2 )
[node name="Area" type="Area" parent="select"]
transform = Transform( 4.19012, 0, 0, 0, 2.2477, 0, 0, 0, 4.64612, 0.0650184, -0.0788417, 0 )
[node name="CollisionShape" type="CollisionShape" parent="select/Area"]
transform = Transform( -0.194335, 0, 0, 0, 0.503394, 0, 0, 0, -0.175511, -0.0123405, 0, 0 )
shape = SubResource( 2 )
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 23, 0, 0, 0, 1, 0, 0, 0, 23, 0.0571287, 0.338936, 0.352431 )
mesh = SubResource( 4 )
skin = SubResource( 5 )
material/0 = null
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 1, 4 )
[node name="CameraMovement" parent="." instance=ExtResource( 1 )]
[node name="container" type="MeshInstance" parent="."]
[node name="Control" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MarginContainer" type="MarginContainer" parent="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 57.0
margin_bottom = 39.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel3" type="Panel" parent="Control"]
visible = false
margin_left = 2.0
margin_top = 79.0
margin_right = 138.0
margin_bottom = 498.0
rect_pivot_offset = Vector2( 654.442, 50.3287 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="test" type="Button" parent="Control/Panel3"]
anchor_top = 0.037
anchor_right = 0.91
anchor_bottom = 0.167
margin_left = 9.0
margin_top = 0.0139999
margin_bottom = -0.126003
rect_pivot_offset = Vector2( -337.942, 128.365 )
text = "Rezidential"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel" type="Panel" parent="Control"]
visible = false
margin_left = -2.0
margin_top = 2.0
margin_right = 1024.0
margin_bottom = 62.0
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button2" type="Button" parent="Control/Panel"]
anchor_left = 0.939
anchor_top = 0.123
anchor_right = 0.992
anchor_bottom = 0.769
margin_left = -0.231201
margin_top = 0.00499916
margin_right = -10.7681
margin_bottom = 0.0150185
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprite" type="Sprite" parent="Control/Panel/Button2"]
position = Vector2( 22.1328, 19.1342 )
scale = Vector2( 0.061, 0.061 )
texture = ExtResource( 6 )
[node name="Button" type="Button" parent="Control/Panel"]
anchor_left = 0.832
anchor_top = 0.128
anchor_right = 0.875
anchor_bottom = 0.774
margin_left = -11.1719
margin_top = -0.00200748
margin_right = -11.4189
margin_bottom = 0.00799179
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprite" type="Sprite" parent="Control/Panel/Button"]
position = Vector2( 23.2907, 20.9791 )
scale = Vector2( 0.0894732, 0.0838004 )
texture = ExtResource( 7 )
[node name="Button3" type="Button" parent="Control/Panel"]
anchor_left = 0.881
anchor_top = 0.127
anchor_right = 0.925
anchor_bottom = 0.774
margin_left = -0.327698
margin_top = 0.02773
margin_right = -1.6037
margin_bottom = -0.0272713
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprite" type="Sprite" parent="Control/Panel/Button3"]
position = Vector2( 22.7344, 19.5081 )
scale = Vector2( 0.05793, 0.0781554 )
texture = ExtResource( 8 )
[node name="Panel4" type="Panel" parent="Control"]
visible = false
margin_left = -2.0
margin_top = 1.4054
margin_right = 1024.0
margin_bottom = 61.4054
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="no" type="Button" parent="Control/Panel4"]
anchor_left = 0.939
anchor_top = 0.123
anchor_right = 0.992
anchor_bottom = 0.769
margin_left = -0.231201
margin_top = 0.00499916
margin_right = -10.7681
margin_bottom = 0.0150185
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprite" type="Sprite" parent="Control/Panel4/no"]
position = Vector2( 22.1328, 19.1342 )
scale = Vector2( 0.061, 0.061 )
texture = ExtResource( 6 )
[node name="ok" type="Button" parent="Control/Panel4"]
anchor_left = 0.881
anchor_top = 0.127
anchor_right = 0.925
anchor_bottom = 0.774
margin_left = -0.327698
margin_top = 0.02773
margin_right = -1.6037
margin_bottom = -0.0272713
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprite" type="Sprite" parent="Control/Panel4/ok"]
position = Vector2( 22.7344, 19.5081 )
scale = Vector2( 0.05793, 0.0781554 )
texture = ExtResource( 8 )
[node name="Panel2" type="Panel" parent="Control"]
margin_left = -2.33163
margin_top = 552.36
margin_right = 1024.67
margin_bottom = 601.36
rect_pivot_offset = Vector2( 654.442, 50.3287 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="build" type="Button" parent="Control/Panel2"]
anchor_left = 0.012
anchor_top = 0.071
anchor_right = 0.055
anchor_bottom = 0.928
margin_left = 0.387239
margin_top = -0.00707626
margin_right = 0.398239
margin_bottom = -7.24792e-05
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprite" type="Sprite" parent="Control/Panel2/build"]
position = Vector2( 22.3843, 20.4535 )
scale = Vector2( 0.0543474, 0.0521967 )
texture = ExtResource( 3 )
[node name="delete" type="Button" parent="Control/Panel2"]
anchor_left = 0.012
anchor_top = 0.071
anchor_right = 0.055
anchor_bottom = 0.928
margin_left = 54.3872
margin_top = -0.00707626
margin_right = 54.3982
margin_bottom = -7.24792e-05
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprite" type="Sprite" parent="Control/Panel2/delete"]
position = Vector2( 22.3843, 20.4535 )
scale = Vector2( 0.0543474, 0.0521967 )
texture = ExtResource( 10 )
[node name="Sprite" type="Sprite" parent="Control/Panel2"]
position = Vector2( 134.636, 25.7885 )
scale = Vector2( 0.354363, 0.35252 )
texture = ExtResource( 9 )
[node name="label" type="RichTextLabel" parent="Control/Panel2"]
anchor_left = 0.156
anchor_top = 0.387
anchor_right = 0.263
anchor_bottom = 0.617
margin_left = 0.204605
margin_top = 0.00866318
margin_right = -0.363434
margin_bottom = -0.0113373
scroll_active = false
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="area_entered" from="select/Area" to="select" method="_on_Area_area_entered"]
[connection signal="area_exited" from="select/Area" to="select" method="_on_Area_area_exited"]
[connection signal="pressed" from="Control/Panel3/test" to="select" method="_on_test_pressed" binds= [ 0 ]]
[connection signal="pressed" from="Control/Panel/Button2" to="select" method="_on_Button2_pressed"]
[connection signal="pressed" from="Control/Panel/Button" to="select" method="_on_Button_pressed"]
[connection signal="pressed" from="Control/Panel/Button3" to="select" method="_on_Button3_pressed"]
[connection signal="pressed" from="Control/Panel4/no" to="select" method="_on_no_pressed"]
[connection signal="pressed" from="Control/Panel4/ok" to="select" method="_on_ok_pressed"]
[connection signal="pressed" from="Control/Panel2/build" to="select" method="_on_build_pressed"]
[connection signal="pressed" from="Control/Panel2/delete" to="select" method="_on_delete_pressed"]