diff --git a/meshes/antichamber-hall-afterstairs.glb b/meshes/antichamber-hall-afterstairs.glb new file mode 100644 index 0000000..6bbd401 Binary files /dev/null and b/meshes/antichamber-hall-afterstairs.glb differ diff --git a/meshes/antichamber-hall-afterstairs.glb.import b/meshes/antichamber-hall-afterstairs.glb.import new file mode 100644 index 0000000..5ff6e7d --- /dev/null +++ b/meshes/antichamber-hall-afterstairs.glb.import @@ -0,0 +1,43 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://by53bp0otp7po" +path="res://.godot/imported/antichamber-hall-afterstairs.glb-a625c22bf6c0cc969ae474e125504fd3.scn" + +[deps] + +source_file="res://meshes/antichamber-hall-afterstairs.glb" +dest_files=["res://.godot/imported/antichamber-hall-afterstairs.glb-a625c22bf6c0cc969ae474e125504fd3.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +_subresources={ +"nodes": { +"PATH:Hall_AfterStairs": { +"generate/physics": true +} +} +} +gltf/naming_version=1 +gltf/embedded_image_handling=1 diff --git a/meshes/antichamber-hall-beforestairs.glb b/meshes/antichamber-hall-beforestairs.glb new file mode 100644 index 0000000..4194303 Binary files /dev/null and b/meshes/antichamber-hall-beforestairs.glb differ diff --git a/meshes/antichamber-hall-beforestairs.glb.import b/meshes/antichamber-hall-beforestairs.glb.import new file mode 100644 index 0000000..e027471 --- /dev/null +++ b/meshes/antichamber-hall-beforestairs.glb.import @@ -0,0 +1,43 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://bt17sdicbdjbk" +path="res://.godot/imported/antichamber-hall-beforestairs.glb-b356d39509e7afd6438fca8cd25e3bee.scn" + +[deps] + +source_file="res://meshes/antichamber-hall-beforestairs.glb" +dest_files=["res://.godot/imported/antichamber-hall-beforestairs.glb-b356d39509e7afd6438fca8cd25e3bee.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +_subresources={ +"nodes": { +"PATH:Hall_BeforeStairs": { +"generate/physics": true +} +} +} +gltf/naming_version=1 +gltf/embedded_image_handling=1 diff --git a/meshes/antichamber-hall-win.glb b/meshes/antichamber-hall-win.glb new file mode 100644 index 0000000..bba40a7 Binary files /dev/null and b/meshes/antichamber-hall-win.glb differ diff --git a/meshes/antichamber-hall-win.glb.import b/meshes/antichamber-hall-win.glb.import new file mode 100644 index 0000000..b2537cc --- /dev/null +++ b/meshes/antichamber-hall-win.glb.import @@ -0,0 +1,43 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://vrjaq85xxmkb" +path="res://.godot/imported/antichamber-hall-win.glb-71c36b74693068b77a1e50a54191ca30.scn" + +[deps] + +source_file="res://meshes/antichamber-hall-win.glb" +dest_files=["res://.godot/imported/antichamber-hall-win.glb-71c36b74693068b77a1e50a54191ca30.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +_subresources={ +"nodes": { +"PATH:Hall_Win": { +"generate/physics": true +} +} +} +gltf/naming_version=1 +gltf/embedded_image_handling=1 diff --git a/world.tscn b/world.tscn index d56c3b4..843b6a7 100644 --- a/world.tscn +++ b/world.tscn @@ -1,7 +1,10 @@ -[gd_scene load_steps=10 format=4 uid="uid://by4fsuj02uyb3"] +[gd_scene load_steps=13 format=4 uid="uid://by4fsuj02uyb3"] [ext_resource type="Script" uid="uid://bdclx4q3c332j" path="res://player.gd" id="1_f3sb7"] [ext_resource type="PackedScene" uid="uid://bcbrwu11sdvwe" path="res://meshes/antichamber-stairs-collider.glb" id="1_fj7yv"] +[ext_resource type="PackedScene" uid="uid://by53bp0otp7po" path="res://meshes/antichamber-hall-afterstairs.glb" id="3_036b0"] +[ext_resource type="PackedScene" uid="uid://bt17sdicbdjbk" path="res://meshes/antichamber-hall-beforestairs.glb" id="4_dwbse"] +[ext_resource type="PackedScene" uid="uid://vrjaq85xxmkb" path="res://meshes/antichamber-hall-win.glb" id="5_pkg7o"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_f3sb7"] sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1) @@ -16,6 +19,10 @@ sky = SubResource("Sky_fj7yv") tonemap_mode = 2 glow_enabled = true +[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_f3sb7"] +radius = 0.375 +height = 1.5 + [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mca7i"] [sub_resource type="ArrayMesh" id="ArrayMesh_j0eh1"] @@ -48,10 +55,6 @@ _surfaces = [{ blend_shape_mode = 0 shadow_mesh = SubResource("ArrayMesh_j0eh1") -[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_f3sb7"] -radius = 0.375 -height = 1.75 - [node name="World" type="Node3D"] [node name="WorldEnvironment" type="WorldEnvironment" parent="."] @@ -61,26 +64,48 @@ environment = SubResource("Environment_tlwt5") transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0) shadow_enabled = true -[node name="antichamber-stairs" type="Node3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.807172, 0, 1.64452) - -[node name="Stairs" type="MeshInstance3D" parent="antichamber-stairs"] -transform = Transform3D(1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0) -mesh = SubResource("ArrayMesh_p540j") -skeleton = NodePath("") - -[node name="Collider" parent="antichamber-stairs" instance=ExtResource("1_fj7yv")] - -[node name="CharacterBody3D" type="CharacterBody3D" parent="." node_paths=PackedStringArray("camera")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.867929, 0, 0.757735) -floor_stop_on_slope = false +[node name="Player" type="CharacterBody3D" parent="." node_paths=PackedStringArray("camera")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.86793, -0.25, 0.257735) floor_max_angle = 0.872665 script = ExtResource("1_f3sb7") camera = NodePath("Camera3D") -[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.101216, 0.107668, 0) +[node name="CollisionShape3D" type="CollisionShape3D" parent="Player"] shape = SubResource("CapsuleShape3D_f3sb7") -[node name="Camera3D" type="Camera3D" parent="CharacterBody3D"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) +[node name="Camera3D" type="Camera3D" parent="Player"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2, 0) + +[node name="RedStairs" type="Node3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9, 0, 0) +metadata/_edit_group_ = true + +[node name="Stairs" type="MeshInstance3D" parent="RedStairs"] +transform = Transform3D(1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0) +mesh = SubResource("ArrayMesh_p540j") +skeleton = NodePath("") + +[node name="Collider" parent="RedStairs" instance=ExtResource("1_fj7yv")] + +[node name="BlueStairs" type="Node3D" parent="."] +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0.8, -2.2, 0.2) +metadata/_edit_group_ = true + +[node name="Stairs" type="MeshInstance3D" parent="BlueStairs"] +transform = Transform3D(1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0) +mesh = SubResource("ArrayMesh_p540j") +skeleton = NodePath("") + +[node name="Collider" parent="BlueStairs" instance=ExtResource("1_fj7yv")] + +[node name="AfterRed" parent="." instance=ExtResource("3_036b0")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.4, 2.2, -5.9) + +[node name="AfterRed2" parent="." instance=ExtResource("3_036b0")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.4, -2.2, -3.8) + +[node name="BeforeStairs" parent="." instance=ExtResource("4_dwbse")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, 0, 0.1) + +[node name="antichamber-hall-win" parent="." instance=ExtResource("5_pkg7o")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.6, 0, -4.6)