diff --git a/images/ceiling_sprites.png b/images/ceiling_sprites.png new file mode 100644 index 0000000..1d4a3fd Binary files /dev/null and b/images/ceiling_sprites.png differ diff --git a/images/ceiling_sprites.png.import b/images/ceiling_sprites.png.import new file mode 100644 index 0000000..c099ae4 --- /dev/null +++ b/images/ceiling_sprites.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d3qghnfckjsaa" +path.s3tc="res://.godot/imported/ceiling_sprites.png-7ae6383eba23e094e63e01a525e69108.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://images/ceiling_sprites.png" +dest_files=["res://.godot/imported/ceiling_sprites.png-7ae6383eba23e094e63e01a525e69108.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/images/hall_sprites.png b/images/hall_sprites.png index 9a9efe2..784660f 100644 Binary files a/images/hall_sprites.png and b/images/hall_sprites.png differ diff --git a/scenes/hall_block.tscn b/scenes/hall_block.tscn index 916048f..93b21be 100644 --- a/scenes/hall_block.tscn +++ b/scenes/hall_block.tscn @@ -1,19 +1,17 @@ [gd_scene format=3 uid="uid://cxnocjdotkl5e"] +[ext_resource type="PackedScene" uid="uid://djmg787t1ltr0" path="res://scenes/hall_ceiling.tscn" id="1_3ms73"] [ext_resource type="PackedScene" uid="uid://ceem38lhtmtiw" path="res://scenes/hall_floor.tscn" id="1_7mju3"] [ext_resource type="PackedScene" uid="uid://qr1lwojf1cp6" path="res://scenes/hall_wall.tscn" id="1_cpafl"] -[sub_resource type="PlaneMesh" id="PlaneMesh_53tvs"] - [node name="HallBlock" type="Node3D" unique_id=2127508708] transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0, 0, 0) -[node name="Floor" parent="." unique_id=1751198646 instance=ExtResource("1_7mju3")] -transform = Transform3D(4, 0, 0, 0, -1.7484554e-07, -3.9999998, 0, 3.9999998, -1.7484554e-07, 0, 0, 0) +[node name="Ceiling" parent="." unique_id=1751198646 instance=ExtResource("1_3ms73")] +transform = Transform3D(-1.7484555e-07, 4, -1.7484555e-07, 0, -1.7484555e-07, -4, -4, -1.7484555e-07, 7.642742e-15, 0, 5.7858315, 0) -[node name="CeilingTemp" type="MeshInstance3D" parent="." unique_id=1243012028] -transform = Transform3D(1.5, 0, 0, 0, -2.5, 6.039832e-07, 0, -3.774895e-07, -4, 0.017923832, 5.798539, -0.017028354) -mesh = SubResource("PlaneMesh_53tvs") +[node name="Floor" parent="." unique_id=46749297 instance=ExtResource("1_7mju3")] +transform = Transform3D(4, 0, 0, 0, -1.7484554e-07, -3.9999998, 0, 3.9999998, -1.7484554e-07, 0, 0, 0) [node name="WallLeft" parent="." unique_id=1979972832 instance=ExtResource("1_cpafl")] transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, -1.2676303e-07, 2.9, 2.9) diff --git a/scenes/hall_ceiling.tscn b/scenes/hall_ceiling.tscn new file mode 100644 index 0000000..d37e0eb --- /dev/null +++ b/scenes/hall_ceiling.tscn @@ -0,0 +1,18 @@ +[gd_scene format=3 uid="uid://djmg787t1ltr0"] + +[ext_resource type="Texture2D" uid="uid://d3qghnfckjsaa" path="res://images/ceiling_sprites.png" id="1_axigy"] + +[sub_resource type="BoxShape3D" id="BoxShape3D_2ktk7"] +size = Vector3(0.94641113, 1.4300561, 0.018554688) + +[node name="Ceiling" type="StaticBody3D" unique_id=1751198646] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=461678032] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0018920898, 0.0053675175, 0.0034179688) +shape = SubResource("BoxShape3D_2ktk7") + +[node name="Panel" type="Sprite3D" parent="." unique_id=1889832031] +transform = Transform3D(1, 0, 3.9750646e-15, 0, 1, 0, -3.9750646e-15, 0, 1, 0, 0, 0) +texture_filter = 0 +texture = ExtResource("1_axigy") +region_rect = Rect2(0, 0, 96, 144) diff --git a/scenes/world.tscn b/scenes/world.tscn index 3fb233f..db312bf 100644 --- a/scenes/world.tscn +++ b/scenes/world.tscn @@ -9,6 +9,9 @@ [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_aqk2v"] +[sub_resource type="BoxShape3D" id="BoxShape3D_k0juu"] +size = Vector3(9.291687, 1, 1.9597168) + [node name="World" type="Node3D" unique_id=831374579] [node name="Hall" type="Node3D" parent="." unique_id=2096979798] @@ -43,6 +46,13 @@ shape = SubResource("CapsuleShape3D_aqk2v") [node name="Elevator Doors" type="Node3D" parent="." unique_id=351419432] +[node name="ElevatorSafeZone" type="Area3D" parent="Elevator Doors" unique_id=1186678129] +unique_name_in_owner = true + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Elevator Doors/ElevatorSafeZone" unique_id=264489586] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.36001587, 2.5895514, -8.097411) +shape = SubResource("BoxShape3D_k0juu") + [node name="DoorLeft" parent="Elevator Doors" unique_id=1751198646 instance=ExtResource("3_k0juu")] transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 4.5, 2.9909716, -8.27242)