61 lines
2.3 KiB
Plaintext
61 lines
2.3 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://ocor7udqvoec"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Level1.cs" id="1_gvb28"]
|
|
[ext_resource type="PackedScene" uid="uid://b03tplah8y1do" path="res://Scenes/target.tscn" id="3_civmh"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_gyf0l"]
|
|
size = Vector3(10, 0.5, 20)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vca8v"]
|
|
albedo_color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_v2sg1"]
|
|
material = SubResource("StandardMaterial3D_vca8v")
|
|
size = Vector3(10, 0.5, 20)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ql8hs"]
|
|
size = Vector3(10, 5, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_po5cl"]
|
|
albedo_color = Color(0.219608, 1, 1, 1)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_6wms0"]
|
|
material = SubResource("StandardMaterial3D_po5cl")
|
|
size = Vector3(10, 5, 1)
|
|
|
|
[node name="Level" type="Node3D" node_paths=PackedStringArray("_spawnPoint")]
|
|
script = ExtResource("1_gvb28")
|
|
_spawnPoint = NodePath("Spawn Point")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
|
shape = SubResource("BoxShape3D_gyf0l")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.189965, 0)
|
|
mesh = SubResource("BoxMesh_v2sg1")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(-0.0510635, -0.435165, -0.898901, 0, -0.900076, 0.435734, -0.998695, 0.0222501, 0.045961, -5.60126, 7.19548, 0)
|
|
|
|
[node name="Target" parent="." instance=ExtResource("3_civmh")]
|
|
|
|
[node name="Area3D" type="Area3D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.54778, -7.99117)
|
|
shape = SubResource("BoxShape3D_ql8hs")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Area3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0.000349066, 0, -0.000349066, 1, 0, 2.52005, -7.98064)
|
|
mesh = SubResource("BoxMesh_6wms0")
|
|
|
|
[node name="Spawn Point" type="Marker3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.712399, 7.37212)
|
|
|
|
[connection signal="body_entered" from="Area3D" to="." method="OnCollisionWithLevelLoader"]
|