Added ceiling tile sprite and accompanying scenes; updated construction
This commit is contained in:
parent
684e2ece59
commit
d914608980
6 changed files with 74 additions and 7 deletions
BIN
images/ceiling_sprites.png
Normal file
BIN
images/ceiling_sprites.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 610 B |
41
images/ceiling_sprites.png.import
Normal file
41
images/ceiling_sprites.png.import
Normal file
|
|
@ -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
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 750 B After Width: | Height: | Size: 771 B |
|
|
@ -1,19 +1,17 @@
|
||||||
[gd_scene format=3 uid="uid://cxnocjdotkl5e"]
|
[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://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"]
|
[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]
|
[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)
|
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")]
|
[node name="Ceiling" parent="." unique_id=1751198646 instance=ExtResource("1_3ms73")]
|
||||||
transform = Transform3D(4, 0, 0, 0, -1.7484554e-07, -3.9999998, 0, 3.9999998, -1.7484554e-07, 0, 0, 0)
|
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]
|
[node name="Floor" parent="." unique_id=46749297 instance=ExtResource("1_7mju3")]
|
||||||
transform = Transform3D(1.5, 0, 0, 0, -2.5, 6.039832e-07, 0, -3.774895e-07, -4, 0.017923832, 5.798539, -0.017028354)
|
transform = Transform3D(4, 0, 0, 0, -1.7484554e-07, -3.9999998, 0, 3.9999998, -1.7484554e-07, 0, 0, 0)
|
||||||
mesh = SubResource("PlaneMesh_53tvs")
|
|
||||||
|
|
||||||
[node name="WallLeft" parent="." unique_id=1979972832 instance=ExtResource("1_cpafl")]
|
[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)
|
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
18
scenes/hall_ceiling.tscn
Normal 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)
|
||||||
|
|
@ -9,6 +9,9 @@
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_aqk2v"]
|
[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="World" type="Node3D" unique_id=831374579]
|
||||||
|
|
||||||
[node name="Hall" type="Node3D" parent="." unique_id=2096979798]
|
[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="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")]
|
[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)
|
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 4.5, 2.9909716, -8.27242)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue