5 rooms with 1 common corner
This commit is contained in:
parent
11f61d62f4
commit
16d7841e6e
124
main.tscn
124
main.tscn
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=13 format=3 uid="uid://dpatwnepecl8r"]
|
[gd_scene load_steps=12 format=3 uid="uid://dpatwnepecl8r"]
|
||||||
|
|
||||||
[ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="1_ig7tw"]
|
[ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="1_ig7tw"]
|
||||||
[ext_resource type="Script" uid="uid://bp1bo57yqtv65" path="res://player.gd" id="2_0xm2m"]
|
[ext_resource type="Script" uid="uid://bp1bo57yqtv65" path="res://player.gd" id="2_0xm2m"]
|
||||||
@ -22,13 +22,11 @@ glow_enabled = true
|
|||||||
radius = 0.05
|
radius = 0.05
|
||||||
height = 1.75
|
height = 1.75
|
||||||
|
|
||||||
[sub_resource type="Environment" id="Environment_lquwl"]
|
[sub_resource type="Environment" id="Environment_7mycd"]
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1bvp3"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_1bvp3"]
|
||||||
size = Vector3(2, 2.5, 0.2)
|
size = Vector3(2, 2.5, 0.2)
|
||||||
|
|
||||||
[sub_resource type="Environment" id="Environment_7mycd"]
|
|
||||||
|
|
||||||
[node name="Main" type="Node3D"]
|
[node name="Main" type="Node3D"]
|
||||||
|
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
@ -78,12 +76,26 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.32153, 0)
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
|
||||||
shape = SubResource("CapsuleShape3D_0xm2m")
|
shape = SubResource("CapsuleShape3D_0xm2m")
|
||||||
|
|
||||||
|
[node name="P_white_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.80825e-08, 0, 1.1, 0, 1.1, 0, -1.1, 0, -4.80825e-08, -5.5, 2, -3)
|
||||||
|
mesh = ExtResource("3_1bvp3")
|
||||||
|
script = ExtResource("4_lquwl")
|
||||||
|
exit_environment = SubResource("Environment_7mycd")
|
||||||
|
exit_portal = NodePath("../P_red_wide")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_white_short"]
|
||||||
|
script = ExtResource("5_lquwl")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_white_short/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
[node name="P_white_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
[node name="P_white_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 0, 2, -6.5)
|
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 0, 2, -6.5)
|
||||||
mesh = ExtResource("3_1bvp3")
|
mesh = ExtResource("3_1bvp3")
|
||||||
script = ExtResource("4_lquwl")
|
script = ExtResource("4_lquwl")
|
||||||
exit_environment = SubResource("Environment_lquwl")
|
exit_environment = SubResource("Environment_7mycd")
|
||||||
exit_portal = NodePath("../P_green_wide")
|
exit_portal = NodePath("../P_green_short")
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_white_wide"]
|
[node name="Teleport" type="Area3D" parent="P_white_wide"]
|
||||||
script = ExtResource("5_lquwl")
|
script = ExtResource("5_lquwl")
|
||||||
@ -92,12 +104,26 @@ script = ExtResource("5_lquwl")
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_green_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.80825e-08, 0, 1.1, 0, 1.1, 0, -1.1, 0, -4.80825e-08, 10.5, 2, -3)
|
||||||
|
mesh = ExtResource("3_1bvp3")
|
||||||
|
script = ExtResource("4_lquwl")
|
||||||
|
exit_environment = SubResource("Environment_7mycd")
|
||||||
|
exit_portal = NodePath("../P_white_wide")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_green_short"]
|
||||||
|
script = ExtResource("5_lquwl")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_green_short/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
[node name="P_green_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
[node name="P_green_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 16, 2, -6.5)
|
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 16, 2, -6.5)
|
||||||
mesh = ExtResource("3_1bvp3")
|
mesh = ExtResource("3_1bvp3")
|
||||||
script = ExtResource("4_lquwl")
|
script = ExtResource("4_lquwl")
|
||||||
exit_environment = SubResource("Environment_7mycd")
|
exit_environment = SubResource("Environment_7mycd")
|
||||||
exit_portal = NodePath("../P_white_wide")
|
exit_portal = NodePath("../P_orange_short")
|
||||||
|
|
||||||
[node name="Teleport" type="Area3D" parent="P_green_wide"]
|
[node name="Teleport" type="Area3D" parent="P_green_wide"]
|
||||||
script = ExtResource("5_lquwl")
|
script = ExtResource("5_lquwl")
|
||||||
@ -105,3 +131,87 @@ script = ExtResource("5_lquwl")
|
|||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_green_wide/Teleport"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_green_wide/Teleport"]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
shape = SubResource("BoxShape3D_1bvp3")
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_orange_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.80825e-08, 0, 1.1, 0, 1.1, 0, -1.1, 0, -4.80825e-08, 26.5, 2, -3)
|
||||||
|
mesh = ExtResource("3_1bvp3")
|
||||||
|
script = ExtResource("4_lquwl")
|
||||||
|
exit_environment = SubResource("Environment_7mycd")
|
||||||
|
exit_portal = NodePath("../P_green_wide")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_orange_short"]
|
||||||
|
script = ExtResource("5_lquwl")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_orange_short/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_orange_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 32, 2, -6.5)
|
||||||
|
mesh = ExtResource("3_1bvp3")
|
||||||
|
script = ExtResource("4_lquwl")
|
||||||
|
exit_environment = SubResource("Environment_7mycd")
|
||||||
|
exit_portal = NodePath("../P_purple_short")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_orange_wide"]
|
||||||
|
script = ExtResource("5_lquwl")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_orange_wide/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_purple_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.80825e-08, 0, 1.1, 0, 1.1, 0, -1.1, 0, -4.80825e-08, -5.5, 2, 9)
|
||||||
|
mesh = ExtResource("3_1bvp3")
|
||||||
|
script = ExtResource("4_lquwl")
|
||||||
|
exit_environment = SubResource("Environment_7mycd")
|
||||||
|
exit_portal = NodePath("../P_orange_wide")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_purple_short"]
|
||||||
|
script = ExtResource("5_lquwl")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_purple_short/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_purple_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 0, 2, 5.5)
|
||||||
|
mesh = ExtResource("3_1bvp3")
|
||||||
|
script = ExtResource("4_lquwl")
|
||||||
|
exit_environment = SubResource("Environment_7mycd")
|
||||||
|
exit_portal = NodePath("../P_red_short")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_purple_wide"]
|
||||||
|
script = ExtResource("5_lquwl")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_purple_wide/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_red_short" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(-4.80825e-08, 0, 1.1, 0, 1.1, 0, -1.1, 0, -4.80825e-08, 10.5, 2, 9)
|
||||||
|
mesh = ExtResource("3_1bvp3")
|
||||||
|
script = ExtResource("4_lquwl")
|
||||||
|
exit_environment = SubResource("Environment_7mycd")
|
||||||
|
exit_portal = NodePath("../P_purple_wide")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_red_short"]
|
||||||
|
script = ExtResource("5_lquwl")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_red_short/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
|
||||||
|
[node name="P_red_wide" type="MeshInstance3D" parent="." node_paths=PackedStringArray("exit_portal")]
|
||||||
|
transform = Transform3D(1.1, 0, 0, 0, 1.1, 0, 0, 0, 1.1, 16, 2, 5.5)
|
||||||
|
mesh = ExtResource("3_1bvp3")
|
||||||
|
script = ExtResource("4_lquwl")
|
||||||
|
exit_environment = SubResource("Environment_7mycd")
|
||||||
|
exit_portal = NodePath("../P_white_short")
|
||||||
|
|
||||||
|
[node name="Teleport" type="Area3D" parent="P_red_wide"]
|
||||||
|
script = ExtResource("5_lquwl")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="P_red_wide/Teleport"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1)
|
||||||
|
shape = SubResource("BoxShape3D_1bvp3")
|
||||||
|
Loading…
Reference in New Issue
Block a user