1 [gd_scene load_steps=9 format=3 uid="uid://6tmryoxhs3yq"]
3 [ext_resource type="PackedScene" uid="uid://dysxftv7xniv0" path="res://player/player.tscn" id="1_3tqxd"]
4 [ext_resource type="Script" path="res://map/world.gd" id="1_mjcfj"]
5 [ext_resource type="Texture2D" uid="uid://cp8pv6wya3ep2" path="res://textures/untextured.png" id="2_sxhh7"]
7 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ul8mq"]
8 albedo_color = Color(0.199732, 0.199732, 0.199732, 1)
9 albedo_texture = ExtResource("2_sxhh7")
10 uv1_scale = Vector3(0.5, 0.5, 0.5)
12 uv1_world_triplanar = true
15 [sub_resource type="PlaneMesh" id="PlaneMesh_43sel"]
16 material = SubResource("StandardMaterial3D_ul8mq")
17 size = Vector2(50, 50)
19 [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_t6tpe"]
20 data = PackedVector3Array(25, 0, 25, -25, 0, 25, 25, 0, -25, -25, 0, 25, -25, 0, -25, 25, 0, -25)
22 [sub_resource type="PlaneMesh" id="PlaneMesh_0exak"]
23 size = Vector2(10, 50)
25 [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_qttgn"]
26 data = PackedVector3Array(5, 0, 25, -5, 0, 25, 5, 0, -25, -5, 0, 25, -5, 0, -25, 5, 0, -25)
28 [node name="World" type="Node3D"]
29 script = ExtResource("1_mjcfj")
31 [node name="map" type="Node3D" parent="."]
33 [node name="DirectionalLight3D" type="DirectionalLight3D" parent="map"]
34 transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 10, 0)
37 [node name="ground" type="MeshInstance3D" parent="map"]
38 mesh = SubResource("PlaneMesh_43sel")
39 skeleton = NodePath("../..")
41 [node name="StaticBody3D" type="StaticBody3D" parent="map/ground"]
43 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/ground/StaticBody3D"]
44 shape = SubResource("ConcavePolygonShape3D_t6tpe")
46 [node name="wall" type="MeshInstance3D" parent="map"]
47 transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 25, 5, 0)
48 mesh = SubResource("PlaneMesh_0exak")
49 skeleton = NodePath("../..")
51 [node name="StaticBody3D" type="StaticBody3D" parent="map/wall"]
53 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/wall/StaticBody3D"]
54 shape = SubResource("ConcavePolygonShape3D_qttgn")
56 [node name="wall2" type="MeshInstance3D" parent="map"]
57 transform = Transform3D(4.37114e-08, 1, 8.74228e-08, 1, -4.37114e-08, 0, 3.82137e-15, 8.74228e-08, -1, -25, 5, 0)
58 mesh = SubResource("PlaneMesh_0exak")
59 skeleton = NodePath("../..")
61 [node name="StaticBody3D" type="StaticBody3D" parent="map/wall2"]
63 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/wall2/StaticBody3D"]
64 shape = SubResource("ConcavePolygonShape3D_qttgn")
66 [node name="wall3" type="MeshInstance3D" parent="map"]
67 transform = Transform3D(-5.73206e-15, -1.31134e-07, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, 1.31134e-07, 0, 5, -25)
68 mesh = SubResource("PlaneMesh_0exak")
69 skeleton = NodePath("../..")
71 [node name="StaticBody3D" type="StaticBody3D" parent="map/wall3"]
73 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/wall3/StaticBody3D"]
74 shape = SubResource("ConcavePolygonShape3D_qttgn")
76 [node name="wall4" type="MeshInstance3D" parent="map"]
77 transform = Transform3D(1.91069e-15, 4.37114e-08, -1, 1, -4.37114e-08, 0, -4.37114e-08, -1, -4.37114e-08, 0, 5, 25)
78 mesh = SubResource("PlaneMesh_0exak")
79 skeleton = NodePath("../..")
81 [node name="StaticBody3D" type="StaticBody3D" parent="map/wall4"]
83 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/wall4/StaticBody3D"]
84 shape = SubResource("ConcavePolygonShape3D_qttgn")
86 [node name="player" parent="." instance=ExtResource("1_3tqxd")]
87 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -16)
90 [connection signal="playerDestroyed" from="player" to="." method="_on_player_destroyed"]
91 [connection signal="playerRestart" from="player" to="." method="_on_player_player_restart"]
92 [connection signal="playerTurn" from="player" to="." method="_player_add_wall"]