-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMainScene.tscn
107 lines (94 loc) · 3.14 KB
/
MainScene.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://MainScene.gd" type="Script" id=1]
[ext_resource path="res://addons/TerrainLoader/tll.gd" type="Script" id=2]
[ext_resource path="res://addons/TerrainLoader/terrain_loader.png" type="Texture" id=3]
[ext_resource path="res://addons/TerrainLoader/Mapbox/PNG/mapbox-logo-white.png" type="Texture" id=4]
[sub_resource type="ShortCut" id=1]
[node name="MainScene" type="Spatial"]
script = ExtResource( 1 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, 0.779283, 0.626672, 0, -0.626672, 0.779283, 0, 9.28216, 0 )
shadow_enabled = true
[node name="Camera" type="Camera" parent="."]
transform = Transform( -3.6548e-008, 0.656294, -0.754506, 2.39777e-008, 0.754506, 0.656294, 1, 5.89494e-009, -4.33121e-008, -5423.43, 4647.49, 0 )
current = true
fov = 45.0
far = 1.67772e+007
[node name="Button_himalaya" type="Button" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -154.0
margin_top = 50.0
margin_bottom = 90.0
text = "Enter Himalaya"
[node name="Button_cotopaxy" type="Button" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -156.0
margin_bottom = 40.0
text = "Enter Cotopaxi"
[node name="TerrainLoader" type="Spatial" parent="."]
script = ExtResource( 2 )
__meta__ = {
"_editor_icon": ExtResource( 3 )
}
access_token = "pk.eyJ1IjoiZGlnaXRhbGtpIiwiYSI6ImNqNXh1MDdibTA4bTMycnAweDBxYXBpYncifQ.daSatfva2eG-95QHWC9Mig"
coordinates = Vector3( 86.9253, 27.9881, 12 )
tilecoords = Vector3( 3037, 1716, 12 )
HeighMultiplier = 1
pxlx = 4
pxly = 20
ArrangeTiles = true
[node name="MapboxWatermark" type="TextureRect" parent="."]
modulate = Color( 1, 1, 1, 0.498039 )
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = -50.0
margin_right = 140.0
margin_bottom = -20.0
rect_clip_content = true
texture = ExtResource( 4 )
expand = true
stretch_mode = 5
[node name="MapboxLink" type="LinkButton" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -342.0
margin_top = -30.0
margin_right = -276.0
margin_bottom = -20.0
shortcut = SubResource( 1 )
text = "© Mapbox"
underline = 1
[node name="OpenStreetMapLink" type="LinkButton" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -262.0
margin_top = -30.0
margin_right = -146.0
margin_bottom = -20.0
shortcut = SubResource( 1 )
text = "© OpenStreetMap"
underline = 1
[node name="ImproveLink" type="LinkButton" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -132.0
margin_top = -30.0
margin_right = -16.0
margin_bottom = -20.0
shortcut = SubResource( 1 )
text = "Improve this map"
underline = 1
[connection signal="pressed" from="Button_himalaya" to="." method="_on_Button_himalaya_pressed"]
[connection signal="pressed" from="Button_cotopaxy" to="." method="_on_Button_cotopaxy_pressed"]
[connection signal="pressed" from="MapboxLink" to="." method="_on_MapboxLink_pressed"]
[connection signal="pressed" from="OpenStreetMapLink" to="." method="_on_OpenStreetMapLink_pressed"]
[connection signal="pressed" from="ImproveLink" to="." method="_on_ImproveLink_pressed"]