File size: 5,651 Bytes
0cbdcec
c21eb24
0cbdcec
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
c21eb24
0cbdcec
 
 
c21eb24
 
0cbdcec
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
 
c21eb24
0cbdcec
c21eb24
0cbdcec
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
 
c21eb24
0cbdcec
c21eb24
0cbdcec
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
 
c21eb24
0cbdcec
c21eb24
0cbdcec
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
 
c21eb24
0cbdcec
c21eb24
0cbdcec
c21eb24
0cbdcec
 
c21eb24
0cbdcec
c21eb24
0cbdcec
 
c21eb24
 
0cbdcec
 
 
c21eb24
0cbdcec
 
c21eb24
 
0cbdcec
 
 
c21eb24
 
 
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
[gd_scene load_steps=12 format=3 uid="uid://bf3qfs06lw0gv"]

[ext_resource type="PackedScene" uid="uid://dwipllxvgnle4" path="res://Player.tscn" id="1"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ell48"]
albedo_color = Color(1, 1, 0.705882, 1)

[sub_resource type="BoxMesh" id="1"]
material = SubResource("StandardMaterial3D_ell48")
size = Vector3(20, 0.1, 20)

[sub_resource type="ConcavePolygonShape3D" id="2"]
data = PackedVector3Array(-10, 0.05, 10, 10, 0.05, 10, -10, -0.05, 10, 10, 0.05, 10, 10, -0.05, 10, -10, -0.05, 10, 10, 0.05, -10, -10, 0.05, -10, 10, -0.05, -10, -10, 0.05, -10, -10, -0.05, -10, 10, -0.05, -10, 10, 0.05, 10, 10, 0.05, -10, 10, -0.05, 10, 10, 0.05, -10, 10, -0.05, -10, 10, -0.05, 10, -10, 0.05, -10, -10, 0.05, 10, -10, -0.05, -10, -10, 0.05, 10, -10, -0.05, 10, -10, -0.05, -10, 10, 0.05, 10, -10, 0.05, 10, 10, 0.05, -10, -10, 0.05, 10, -10, 0.05, -10, 10, 0.05, -10, -10, -0.05, 10, 10, -0.05, 10, -10, -0.05, -10, 10, -0.05, 10, 10, -0.05, -10, -10, -0.05, -10)

[sub_resource type="BoxMesh" id="3"]
size = Vector3(20, 5, 2)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1ci10"]
albedo_color = Color(0, 1, 0.184314, 1)

[sub_resource type="ConcavePolygonShape3D" id="4"]
data = PackedVector3Array(-10, 2.5, 1, 10, 2.5, 1, -10, -2.5, 1, 10, 2.5, 1, 10, -2.5, 1, -10, -2.5, 1, 10, 2.5, -1, -10, 2.5, -1, 10, -2.5, -1, -10, 2.5, -1, -10, -2.5, -1, 10, -2.5, -1, 10, 2.5, 1, 10, 2.5, -1, 10, -2.5, 1, 10, 2.5, -1, 10, -2.5, -1, 10, -2.5, 1, -10, 2.5, -1, -10, 2.5, 1, -10, -2.5, -1, -10, 2.5, 1, -10, -2.5, 1, -10, -2.5, -1, 10, 2.5, 1, -10, 2.5, 1, 10, 2.5, -1, -10, 2.5, 1, -10, 2.5, -1, 10, 2.5, -1, -10, -2.5, 1, 10, -2.5, 1, -10, -2.5, -1, 10, -2.5, 1, 10, -2.5, -1, -10, -2.5, -1)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rnma1"]
albedo_color = Color(1, 0.34902, 1, 1)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jlxwb"]
albedo_color = Color(0.266667, 0.431373, 1, 1)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nulvw"]
albedo_color = Color(1, 0.258824, 0.270588, 1)

[sub_resource type="BoxShape3D" id="10"]
size = Vector3(0.8, 2, 17.9421)

[node name="ColorRoom" type="Node3D"]

[node name="Player" parent="." instance=ExtResource("1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)

[node name="Camera" type="Camera3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, -0.199591)

[node name="Walls" type="Node3D" parent="."]

[node name="MeshInstance" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
mesh = SubResource("1")
skeleton = NodePath("../..")

[node name="StaticBody" type="StaticBody3D" parent="Walls/MeshInstance"]

[node name="CollisionShape" type="CollisionShape3D" parent="Walls/MeshInstance/StaticBody"]
shape = SubResource("2")

[node name="MeshInstance2" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -11)
mesh = SubResource("3")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_1ci10")

[node name="StaticBody" type="StaticBody3D" parent="Walls/MeshInstance2"]

[node name="CollisionShape" type="CollisionShape3D" parent="Walls/MeshInstance2/StaticBody"]
shape = SubResource("4")

[node name="MeshInstance3" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, 11)
mesh = SubResource("3")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_rnma1")

[node name="StaticBody" type="StaticBody3D" parent="Walls/MeshInstance3"]

[node name="CollisionShape" type="CollisionShape3D" parent="Walls/MeshInstance3/StaticBody"]
shape = SubResource("4")

[node name="MeshInstance4" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 11, 2.5, 0)
mesh = SubResource("3")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_jlxwb")

[node name="StaticBody" type="StaticBody3D" parent="Walls/MeshInstance4"]

[node name="CollisionShape" type="CollisionShape3D" parent="Walls/MeshInstance4/StaticBody"]
shape = SubResource("4")

[node name="MeshInstance5" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -11, 2.5, 0)
mesh = SubResource("3")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_nulvw")

[node name="StaticBody" type="StaticBody3D" parent="Walls/MeshInstance5"]

[node name="CollisionShape" type="CollisionShape3D" parent="Walls/MeshInstance5/StaticBody"]
shape = SubResource("4")

[node name="Goals" type="Node3D" parent="."]

[node name="NegativeGoal" type="Area3D" parent="Goals"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.71839, 0.0416299, -0.292424)
collision_layer = 0

[node name="CollisionShape" type="CollisionShape3D" parent="Goals/NegativeGoal"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.47999, 0)
shape = SubResource("10")

[node name="PositiveGoal" type="Area3D" parent="Goals"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.93574, -0.068549, -0.292424)
collision_layer = 0

[node name="CollisionShape" type="CollisionShape3D" parent="Goals/PositiveGoal"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.47999, 0)
shape = SubResource("10")

[connection signal="body_entered" from="Goals/NegativeGoal" to="Player" method="_on_NegativeGoal_body_entered"]
[connection signal="body_entered" from="Goals/PositiveGoal" to="Player" method="_on_PositiveGoal_body_entered"]