Datasets:
File size: 5,241 Bytes
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 |
[gd_scene load_steps=12 format=2]
[ext_resource path="res://Player.tscn" type="PackedScene" id=1]
[sub_resource type="CubeMesh" id=1]
size = Vector3( 20, 0.1, 20 )
[sub_resource type="SpatialMaterial" id=9]
albedo_color = Color( 0.145098, 0.145098, 0.145098, 1 )
[sub_resource type="ConcavePolygonShape" id=2]
data = PoolVector3Array( -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="CubeMesh" id=3]
size = Vector3( 20, 5, 2 )
[sub_resource type="SpatialMaterial" id=8]
albedo_color = Color( 0.541176, 0.247059, 0.760784, 1 )
[sub_resource type="ConcavePolygonShape" id=4]
data = PoolVector3Array( -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="SpatialMaterial" id=7]
albedo_color = Color( 0.0627451, 0.670588, 0.215686, 1 )
[sub_resource type="SpatialMaterial" id=6]
albedo_color = Color( 0.137255, 0.34902, 0.909804, 1 )
[sub_resource type="SpatialMaterial" id=5]
albedo_color = Color( 0.784314, 0.129412, 0.129412, 1 )
[sub_resource type="BoxShape" id=10]
extents = Vector3( 0.4, 1, 8.97105 )
[node name="ColorRoom" type="Spatial"]
[node name="Player" parent="." instance=ExtResource( 1 )]
[node name="Camera" type="Camera" parent="Player"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, -0.199591 )
[node name="Walls" type="Spatial" parent="."]
[node name="MeshInstance" type="MeshInstance" parent="Walls"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0 )
mesh = SubResource( 1 )
skeleton = NodePath("../..")
material/0 = SubResource( 9 )
[node name="StaticBody" type="StaticBody" parent="Walls/MeshInstance"]
[node name="CollisionShape" type="CollisionShape" parent="Walls/MeshInstance/StaticBody"]
shape = SubResource( 2 )
[node name="MeshInstance2" type="MeshInstance" parent="Walls"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -11 )
mesh = SubResource( 3 )
skeleton = NodePath("../..")
material/0 = SubResource( 8 )
[node name="StaticBody" type="StaticBody" parent="Walls/MeshInstance2"]
[node name="CollisionShape" type="CollisionShape" parent="Walls/MeshInstance2/StaticBody"]
shape = SubResource( 4 )
[node name="MeshInstance3" type="MeshInstance" parent="Walls"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, 11 )
mesh = SubResource( 3 )
skeleton = NodePath("../..")
material/0 = SubResource( 7 )
[node name="StaticBody" type="StaticBody" parent="Walls/MeshInstance3"]
[node name="CollisionShape" type="CollisionShape" parent="Walls/MeshInstance3/StaticBody"]
shape = SubResource( 4 )
[node name="MeshInstance4" type="MeshInstance" parent="Walls"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 11, 2.5, 0 )
mesh = SubResource( 3 )
skeleton = NodePath("../..")
material/0 = SubResource( 6 )
[node name="StaticBody" type="StaticBody" parent="Walls/MeshInstance4"]
[node name="CollisionShape" type="CollisionShape" parent="Walls/MeshInstance4/StaticBody"]
shape = SubResource( 4 )
[node name="MeshInstance5" type="MeshInstance" parent="Walls"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -11, 2.5, 0 )
mesh = SubResource( 3 )
skeleton = NodePath("../..")
material/0 = SubResource( 5 )
[node name="StaticBody" type="StaticBody" parent="Walls/MeshInstance5"]
[node name="CollisionShape" type="CollisionShape" parent="Walls/MeshInstance5/StaticBody"]
shape = SubResource( 4 )
[node name="Goals" type="Spatial" parent="."]
[node name="NegativeGoal" type="Area" parent="Goals"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -8.71839, 0.0416299, -0.292424 )
collision_layer = 0
[node name="CollisionShape" type="CollisionShape" parent="Goals/NegativeGoal"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.47999, 0 )
shape = SubResource( 10 )
[node name="PositiveGoal" type="Area" parent="Goals"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 8.93574, -0.068549, -0.292424 )
collision_layer = 0
[node name="CollisionShape" type="CollisionShape" parent="Goals/PositiveGoal"]
transform = Transform( 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"]
|