project-dung/scenes/rover_game.tscn

223 lines
10 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://scenes/rover.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/rover_level/RoverGame.glb" type="PackedScene" id=4]
[ext_resource path="res://scripts/rover_camera.gd" type="Script" id=5]
[ext_resource path="res://scripts/rover_game.gd" type="Script" id=6]
[sub_resource type="BoxShape" id=7]
extents = Vector3( 21.7976, 4.38074, 5.34608 )
[sub_resource type="Environment" id=5]
background_mode = 2
background_color = Color( 0.752941, 0.752941, 0.752941, 1 )
ambient_light_color = Color( 0.32549, 0.32549, 0.32549, 1 )
ssao_enabled = true
ssao_radius = 15.99
ssao_intensity = 3.14
ssao_bias = 0.455
ssao_edge_sharpness = 0.0
[sub_resource type="BoxShape" id=8]
extents = Vector3( 100, 1, 400 )
[node name="rover_game" type="Spatial"]
script = ExtResource( 6 )
[node name="RoverGame" parent="." instance=ExtResource( 4 )]
__meta__ = {
"_edit_group_": true
}
[node name="rover" parent="." instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0511061, 50 )
mass = 2.0
[node name="Camera" type="Camera" parent="rover/visual" index="2"]
transform = Transform( 1.19422e-07, 0.5, -0.866025, -4.37114e-08, 0.866025, 0.5, 1, -2.18557e-08, 1.25278e-07, -13.15, 6.519, 0.386 )
far = 300.0
[node name="rover_camera" type="Camera" parent="."]
transform = Transform( -4.37114e-08, 0.707106, -0.707106, 0, 0.707106, 0.707106, 1, 3.09086e-08, -3.09086e-08, -26.657, 23.188, 50 )
current = true
script = ExtResource( 5 )
[node name="collection_area" type="Area" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.988 )
collision_layer = 0
collision_mask = 32
[node name="CollisionShape" type="CollisionShape" parent="collection_area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.0199232 )
shape = SubResource( 7 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 5 )
[node name="Floor" type="StaticBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
[node name="CollisionShape" type="CollisionShape" parent="Floor"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.172523, 0.157974, 349.242 )
shape = SubResource( 8 )
[node name="Timer" type="Timer" parent="."]
one_shot = true
autostart = true
[node name="UI" type="CanvasLayer" parent="."]
[node name="Control" type="Control" parent="UI"]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Panel" type="Panel" parent="UI/Control"]
anchor_right = 1.0
margin_bottom = 44.0
[node name="progress_bar" type="ProgressBar" parent="UI/Control/Panel"]
unique_name_in_owner = true
anchor_left = 0.5
anchor_right = 0.5
margin_left = -393.0
margin_right = 393.0
margin_bottom = 43.0
[node name="spawn locations" type="Spatial" parent="."]
[node name="spawn_location" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 72.8999 )
[node name="spawn_location2" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -14.1474, 0, 86.0569 )
[node name="spawn_location3" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 18.2501, 0, 95.3941 )
[node name="spawn_location4" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.749908, 0, 103.394 )
[node name="spawn_location5" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 15.2501, 0, 78.3941 )
[node name="spawn_location6" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 17.7966, 0, 55.7584 )
[node name="spawn_location7" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.0892, 0, 38.7815 )
[node name="spawn_location8" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.0892, 0, 38.7815 )
[node name="spawn_location9" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 9.46336, 0, 135.092 )
[node name="spawn_location10" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.483337, 0, 158.441 )
[node name="spawn_location11" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 19.4833, 0, 182.441 )
[node name="spawn_location12" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -22.4983, 0, 220.83 )
[node name="spawn_location13" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.50166, 0, 220.83 )
[node name="spawn_location14" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -18.9689, 0, 237.892 )
[node name="spawn_location15" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -7.7439, 0, 291.772 )
[node name="spawn_location16" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 22.1147, 0, 283.915 )
[node name="spawn_location17" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 27.9517, 0, 325.897 )
[node name="spawn_location18" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 13.1347, 0, 352.388 )
[node name="spawn_location19" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -17.1729, 0, 361.368 )
[node name="spawn_location20" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.60088, 0, 378.654 )
[node name="spawn_location21" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 17.6247, 0, 374.164 )
[node name="spawn_location22" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 17.6247, 0, 374.164 )
[node name="spawn_location23" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.0909, 0, 404.921 )
[node name="spawn_location24" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -22.7855, 0, 420.86 )
[node name="spawn_location25" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -14.4789, 0, 436.351 )
[node name="spawn_location26" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.00888, 0, 453.862 )
[node name="spawn_location27" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6.17516, 0, 438.147 )
[node name="spawn_location28" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21.2167, 0, 457.005 )
[node name="spawn_location29" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 15.6042, 0, 469.802 )
[node name="spawn_location30" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 25.0332, 0, 496.517 )
[node name="spawn_location31" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 9.99167, 0, 513.355 )
[node name="spawn_location32" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -18.0709, 0, 527.049 )
[node name="spawn_location33" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -20.0709, 0, 545.049 )
[node name="spawn_location34" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -20.0709, 0, 545.049 )
[node name="spawn_location35" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 30.2172, 0, 526.865 )
[node name="spawn_location36" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 13.2172, 0, 528.865 )
[node name="spawn_location37" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -17.0904, 0, 605.195 )
[node name="spawn_location38" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.701813, 0, 602.725 )
[node name="spawn_location39" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 15.0132, 0, 626.747 )
[node name="spawn_location40" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 24.8913, 0, 643.585 )
[node name="spawn_location41" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 15.0132, 0, 664.688 )
[node name="spawn_location42" type="Position3D" parent="spawn locations" groups=["rock_spawn_location"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 17.4828, 0, 603.399 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.866025, 2.18557e-08, -0.5, 0.5, -3.78552e-08, 0.866025, 0, -1, -4.37114e-08, 0, 87.952, 53 )
shadow_enabled = true
[connection signal="area_entered" from="collection_area" to="." method="_on_collection_area_area_entered"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
[editable path="RoverGame"]
[editable path="rover"]