This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tscn
234 lines (202 loc) · 6.47 KB
/
main.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
[gd_scene load_steps=11 format=2]
[ext_resource path="res://main.gd" type="Script" id=1]
[ext_resource path="res://addons/lunco-cameras/gimbal-camera/gimbal-camera.tscn" type="PackedScene" id=2]
[ext_resource path="res://models/moon.tscn" type="PackedScene" id=3]
[ext_resource path="res://default_theme.tres" type="Theme" id=4]
[ext_resource path="res://assets/pt-mono/PTM75F.ttf" type="DynamicFontData" id=5]
[sub_resource type="DynamicFont" id=1]
size = 50
outline_size = 5
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 5 )
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0.912422, 0.138889, 0.138889, 1 )
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0.126818, 0.638657, 0.652012, 1 )
[sub_resource type="StyleBoxFlat" id=4]
bg_color = Color( 0.25098, 0.168627, 0.843137, 1 )
[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 0.494118, 0.443137, 0.0666667, 1 )
[node name="Main" type="Node"]
script = ExtResource( 1 )
[node name="Camera" parent="." instance=ExtResource( 2 )]
transform = Transform( -0.999502, 0, -0.0315503, 0, 1, 0, 0.0315503, 0, -0.999502, 0, 0, -4.01146 )
target = NodePath("../Moon")
[node name="Moon" parent="." instance=ExtResource( 3 )]
transform = Transform( 0.994522, 0, 0.104528, 0, 1, 0, -0.104528, 0, 0.994522, 0, 0, 0 )
operation = 2
radial_segments = 40
rings = 40
[node name="Sun" type="DirectionalLight" parent="."]
transform = Transform( -0.99966, 0, -0.0260724, 0, 1, 0, 0.0260724, 0, -0.99966, 0, 0, -6.38122 )
[node name="UI" type="CanvasLayer" parent="."]
[node name="Help" type="RichTextLabel" parent="UI"]
margin_left = 20.0
margin_top = 18.0
margin_right = 662.0
margin_bottom = 148.0
theme = ExtResource( 4 )
bbcode_enabled = true
bbcode_text = "[b]Rotate[/b]: RMB or Up/Down/Left/Right
Zoom: -/=
Play/Pause: Space"
text = "Rotate: RMB or Up/Down/Left/Right
Zoom: -/=
Play/Pause: Space"
[node name="About" type="RichTextLabel" parent="UI"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -500.0
margin_top = 16.0
margin_right = -20.0
margin_bottom = 146.0
theme = ExtResource( 4 )
bbcode_enabled = true
bbcode_text = "Map of Moonquakes based on Apollo's data"
text = "Map of Moonquakes based on Apollo's data"
[node name="Title" type="RichTextLabel" parent="UI"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -220.0
margin_top = 40.0
margin_right = 220.0
margin_bottom = 170.0
theme = ExtResource( 4 )
custom_fonts/normal_font = SubResource( 1 )
bbcode_enabled = true
bbcode_text = "Moonquakes Map"
text = "Moonquakes Map"
[node name="Tree" type="Tree" parent="UI"]
visible = false
anchor_bottom = 1.0
margin_left = 5.0
margin_top = 125.0
margin_right = 685.0
margin_bottom = -260.0
theme = ExtResource( 4 )
columns = 5
[node name="Label" type="Label" parent="UI"]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 14.0
margin_top = -243.0
margin_right = 54.0
margin_bottom = -229.0
theme = ExtResource( 4 )
text = "Hours/sec:"
[node name="Speed" type="TextEdit" parent="UI"]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 209.0
margin_top = -242.0
margin_right = 428.0
margin_bottom = -199.0
size_flags_horizontal = 3
size_flags_vertical = 13
theme = ExtResource( 4 )
text = "3000"
[node name="VBoxContainer" type="VBoxContainer" parent="UI"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = -165.0
margin_right = -20.0
margin_bottom = -20.0
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 1
[node name="Play" type="Button" parent="UI/VBoxContainer"]
margin_right = 202.0
margin_bottom = 43.0
size_flags_horizontal = 0
theme = ExtResource( 4 )
text = "Play/Pause"
[node name="CurrentTime" type="Label" parent="UI/VBoxContainer"]
margin_top = 47.0
margin_right = 1960.0
margin_bottom = 84.0
theme = ExtResource( 4 )
text = "Current time:"
[node name="HBoxContainer2" type="HBoxContainer" parent="UI/VBoxContainer"]
margin_top = 88.0
margin_right = 1960.0
margin_bottom = 104.0
[node name="TimeLine" type="HSlider" parent="UI/VBoxContainer/HBoxContainer2"]
margin_right = 1960.0
margin_bottom = 16.0
size_flags_horizontal = 3
max_value = 2048.0
page = 1.0
rounded = true
tick_count = 2
ticks_on_borders = true
[node name="HBoxContainer" type="HBoxContainer" parent="UI/VBoxContainer"]
margin_top = 108.0
margin_right = 1960.0
margin_bottom = 145.0
[node name="StartTime" type="Label" parent="UI/VBoxContainer/HBoxContainer"]
margin_right = 1785.0
margin_bottom = 37.0
size_flags_horizontal = 3
size_flags_vertical = 0
theme = ExtResource( 4 )
text = "Start:"
[node name="EndTime" type="Label" parent="UI/VBoxContainer/HBoxContainer"]
margin_left = 1789.0
margin_right = 1960.0
margin_bottom = 37.0
theme = ExtResource( 4 )
text = "End time:"
align = 1
[node name="VBoxContainer2" type="VBoxContainer" parent="UI"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -368.0
margin_top = -308.0
margin_right = -32.0
margin_bottom = -107.0
[node name="Label5" type="Label" parent="UI/VBoxContainer2"]
margin_right = 336.0
margin_bottom = 37.0
theme = ExtResource( 4 )
text = "Colors meaning"
[node name="Label" type="Label" parent="UI/VBoxContainer2"]
margin_top = 41.0
margin_right = 336.0
margin_bottom = 78.0
size_flags_horizontal = 3
theme = ExtResource( 4 )
custom_styles/normal = SubResource( 2 )
text = "Deep Moonquake"
[node name="Label2" type="Label" parent="UI/VBoxContainer2"]
margin_top = 82.0
margin_right = 336.0
margin_bottom = 119.0
size_flags_horizontal = 3
theme = ExtResource( 4 )
custom_styles/normal = SubResource( 3 )
text = "Natural Impact"
[node name="Label3" type="Label" parent="UI/VBoxContainer2"]
margin_top = 123.0
margin_right = 336.0
margin_bottom = 160.0
size_flags_horizontal = 3
theme = ExtResource( 4 )
custom_styles/normal = SubResource( 4 )
text = "Shallow Moonquake"
[node name="Label4" type="Label" parent="UI/VBoxContainer2"]
margin_top = 164.0
margin_right = 336.0
margin_bottom = 201.0
size_flags_horizontal = 3
theme = ExtResource( 4 )
custom_styles/normal = SubResource( 5 )
text = "Artificial Impact"
[connection signal="text_changed" from="UI/Speed" to="." method="_on_Speed_text_changed"]
[connection signal="pressed" from="UI/VBoxContainer/Play" to="." method="_on_Play_pressed"]
[connection signal="drag_ended" from="UI/VBoxContainer/HBoxContainer2/TimeLine" to="." method="_on_TimeLine_drag_ended"]
[connection signal="drag_started" from="UI/VBoxContainer/HBoxContainer2/TimeLine" to="." method="_on_TimeLine_drag_started"]
[connection signal="value_changed" from="UI/VBoxContainer/HBoxContainer2/TimeLine" to="." method="_on_TimeLine_value_changed"]