Added ceiling tile sprite and accompanying scenes; updated construction

This commit is contained in:
Henry 2026-05-09 19:06:20 +01:00
parent 684e2ece59
commit d914608980
6 changed files with 74 additions and 7 deletions

View file

@ -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)

18
scenes/hall_ceiling.tscn Normal file
View file

@ -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)

View file

@ -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)