[gd_scene load_steps=27 format=3 uid="uid://ef0nvq0ikdjg"] [ext_resource type="PackedScene" uid="uid://bwe2jdmvinhqd" path="res://src/player/player.tscn" id="1_kfkc5"] [ext_resource type="Material" uid="uid://cdsodbp7rbvip" path="res://assets/level/floor/floor_1.tres" id="2_eqm4j"] [ext_resource type="Material" uid="uid://phmrg5c5ls4i" path="res://assets/level/floor/floor_2.tres" id="3_yqrx7"] [ext_resource type="Material" uid="uid://coy3y2u3ujn3u" path="res://assets/level/wall/wall_1.tres" id="4_yy6sa"] [ext_resource type="Material" uid="uid://q1b701b13co6" path="res://assets/level/wall/wall_2.tres" id="5_rpeyx"] [ext_resource type="Material" uid="uid://b1gi4b3ny2q1l" path="res://assets/level/wall/wall_3.tres" id="6_emb7q"] [ext_resource type="Material" uid="uid://bkwfat6ltd7a7" path="res://assets/level/ceiling/ceiling_1.tres" id="7_u881q"] [ext_resource type="Material" uid="uid://cxudbowc3a5hy" path="res://assets/level/ceiling/ceiling_2.tres" id="8_2mqye"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_om6ib"] [sub_resource type="Sky" id="Sky_8jqw1"] sky_material = SubResource("ProceduralSkyMaterial_om6ib") [sub_resource type="Environment" id="Environment_4nlsy"] background_mode = 1 sky = SubResource("Sky_8jqw1") ambient_light_source = 2 ambient_light_color = Color(1, 1, 1, 1) ambient_light_energy = 0.06 tonemap_mode = 3 glow_enabled = true glow_bloom = 0.1 fog_enabled = true fog_light_color = Color(0, 0, 0, 1) fog_density = 0.2 [sub_resource type="PlaneMesh" id="PlaneMesh_1krrn"] size = Vector2(6, 6) [sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_imll7"] [sub_resource type="ArrayMesh" id="ArrayMesh_eqm4j"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "format": 34896613377, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) }] blend_shape_mode = 0 [sub_resource type="ArrayMesh" id="ArrayMesh_yqrx7"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "attribute_data": PackedByteArray(255, 255, 255, 255, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0), "format": 34896613399, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "material": ExtResource("2_eqm4j"), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 255, 255, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127) }] blend_shape_mode = 0 shadow_mesh = SubResource("ArrayMesh_eqm4j") [sub_resource type="ArrayMesh" id="ArrayMesh_yy6sa"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "format": 34896613377, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) }] blend_shape_mode = 0 [sub_resource type="ArrayMesh" id="ArrayMesh_rpeyx"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "attribute_data": PackedByteArray(255, 255, 255, 255, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0), "format": 34896613399, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "material": ExtResource("3_yqrx7"), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 255, 255, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127) }] blend_shape_mode = 0 shadow_mesh = SubResource("ArrayMesh_yy6sa") [sub_resource type="ArrayMesh" id="ArrayMesh_emb7q"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "format": 34896613377, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) }] blend_shape_mode = 0 [sub_resource type="ArrayMesh" id="ArrayMesh_u881q"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "attribute_data": PackedByteArray(255, 255, 255, 255, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0), "format": 34896613399, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "material": ExtResource("4_yy6sa"), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 255, 255, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127) }] blend_shape_mode = 0 shadow_mesh = SubResource("ArrayMesh_emb7q") [sub_resource type="ArrayMesh" id="ArrayMesh_2mqye"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "format": 34896613377, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) }] blend_shape_mode = 0 [sub_resource type="ArrayMesh" id="ArrayMesh_smfwr"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "attribute_data": PackedByteArray(255, 255, 255, 255, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0), "format": 34896613399, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "material": ExtResource("5_rpeyx"), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 255, 255, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127) }] blend_shape_mode = 0 shadow_mesh = SubResource("ArrayMesh_2mqye") [sub_resource type="ArrayMesh" id="ArrayMesh_80jgi"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "attribute_data": PackedByteArray(255, 255, 255, 255, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0), "format": 34896613399, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "material": ExtResource("6_emb7q"), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 255, 255, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127) }] blend_shape_mode = 0 shadow_mesh = SubResource("ArrayMesh_emb7q") [sub_resource type="ArrayMesh" id="ArrayMesh_vx5xa"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "format": 34896613377, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) }] blend_shape_mode = 0 [sub_resource type="ArrayMesh" id="ArrayMesh_w0omc"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "attribute_data": PackedByteArray(255, 255, 255, 255, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0), "format": 34896613399, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "material": ExtResource("7_u881q"), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 255, 255, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127) }] blend_shape_mode = 0 shadow_mesh = SubResource("ArrayMesh_vx5xa") [sub_resource type="ArrayMesh" id="ArrayMesh_muvdl"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "format": 34896613377, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) }] blend_shape_mode = 0 [sub_resource type="ArrayMesh" id="ArrayMesh_bbps6"] _surfaces = [{ "aabb": AABB(-1, 0, -1, 2, 1e-05, 2), "attribute_data": PackedByteArray(255, 255, 255, 255, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0), "format": 34896613399, "index_count": 6, "index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 2, 0, 1, 0, 3, 0), "material": ExtResource("8_2mqye"), "name": "Plane", "primitive": 3, "uv_scale": Vector4(0, 0, 0, 0), "vertex_count": 4, "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 255, 255, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127) }] blend_shape_mode = 0 shadow_mesh = SubResource("ArrayMesh_muvdl") [node name="AssetTest" type="Node3D"] [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_4nlsy") [node name="OmniLight3D" type="OmniLight3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 1.87456, -4) light_energy = 8.0 shadow_enabled = true omni_range = 20.0 [node name="Player" parent="." instance=ExtResource("1_kfkc5")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) [node name="Floor" type="StaticBody3D" parent="."] [node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"] mesh = SubResource("PlaneMesh_1krrn") skeleton = NodePath("../..") [node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"] shape = SubResource("WorldBoundaryShape3D_imll7") [node name="Assets" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -4) [node name="Floors" type="Node3D" parent="Assets"] [node name="Floor1" type="MeshInstance3D" parent="Assets/Floors"] mesh = SubResource("ArrayMesh_yqrx7") skeleton = NodePath("../..") [node name="Floor2" type="MeshInstance3D" parent="Assets/Floors"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0) mesh = SubResource("ArrayMesh_rpeyx") skeleton = NodePath("../..") [node name="Walls" type="Node3D" parent="Assets"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1) [node name="Wall1" type="MeshInstance3D" parent="Assets/Walls"] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0) mesh = SubResource("ArrayMesh_u881q") [node name="Wall2" type="MeshInstance3D" parent="Assets/Walls"] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 2, 0, 0) mesh = SubResource("ArrayMesh_smfwr") [node name="Wall3" type="MeshInstance3D" parent="Assets/Walls"] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 4, 0, 0) mesh = SubResource("ArrayMesh_80jgi") [node name="Ceilings" type="Node3D" parent="Assets"] [node name="Ceiling1" type="MeshInstance3D" parent="Assets/Ceilings"] transform = Transform3D(1, 0, 0, 0, -1, 8.74228e-08, 0, -8.74228e-08, -1, 0, 2, 0) mesh = SubResource("ArrayMesh_w0omc") [node name="Ceiling2" type="MeshInstance3D" parent="Assets/Ceilings"] transform = Transform3D(-4.37114e-08, 0, -1, -8.74228e-08, -1, 3.82137e-15, -1, 8.74228e-08, 4.37114e-08, 2, 2, 0) mesh = SubResource("ArrayMesh_bbps6")