diff --git a/images/bot.png b/images/bot.png index 120b8a6..2a7f5ee 100644 Binary files a/images/bot.png and b/images/bot.png differ diff --git a/images/shadow.png b/images/shadow.png new file mode 100644 index 0000000..0ab00dc Binary files /dev/null and b/images/shadow.png differ diff --git a/images/shadow.png.import b/images/shadow.png.import new file mode 100644 index 0000000..560b572 --- /dev/null +++ b/images/shadow.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cq5uwykwt0mpl" +path.s3tc="res://.godot/imported/shadow.png-9b6ca2b1e243d1a8fd2ec4e8a5ad9ebb.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://images/shadow.png" +dest_files=["res://.godot/imported/shadow.png-9b6ca2b1e243d1a8fd2ec4e8a5ad9ebb.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/scenes/hall_block.tscn b/scenes/hall_block.tscn index aa7ef76..5dcce25 100644 --- a/scenes/hall_block.tscn +++ b/scenes/hall_block.tscn @@ -11,7 +11,7 @@ transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 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="Floor" parent="." unique_id=46749297 instance=ExtResource("1_7mju3")] -transform = Transform3D(-1.7484555e-07, 3.9999998, -1.7484554e-07, 0, -1.7484554e-07, -3.9999998, -4, -1.7484554e-07, 7.642741e-15, 0, 0, 0) +transform = Transform3D(-1.7484555e-07, 3.9999998, -1.7484554e-07, 0, -1.7484554e-07, -3.9999998, -4, -1.7484554e-07, 7.642741e-15, 0, -0.018736243, 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/robot.tscn b/scenes/robot.tscn index 37d4233..07d7253 100644 --- a/scenes/robot.tscn +++ b/scenes/robot.tscn @@ -2,6 +2,7 @@ [ext_resource type="Texture2D" uid="uid://ba2ywy388r8g1" path="res://images/bot.png" id="1_br0rw"] [ext_resource type="Script" uid="uid://c0ii52yy7qbcu" path="res://scenes/robot.gd" id="1_ykvnc"] +[ext_resource type="Texture2D" uid="uid://cq5uwykwt0mpl" path="res://images/shadow.png" id="3_i42o3"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_ykvnc"] height = 1.8903809 @@ -15,6 +16,12 @@ billboard = 1 texture_filter = 0 texture = ExtResource("1_br0rw") +[node name="Sprite3D" type="Sprite3D" parent="Sprite3D" unique_id=1027247402] +transform = Transform3D(0.75000006, 0, 0, 0, -3.2783543e-08, -0.75000006, 0, 0.75000006, -3.2783543e-08, 0.012311629, -0.59681433, 0) +visible = false +texture_filter = 0 +texture = ExtResource("3_i42o3") + [node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=94553291] transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 0.29987764, 0) shape = SubResource("CylinderShape3D_ykvnc") diff --git a/scenes/survivor.tscn b/scenes/survivor.tscn index c064cbf..775ea2a 100644 --- a/scenes/survivor.tscn +++ b/scenes/survivor.tscn @@ -2,6 +2,7 @@ [ext_resource type="Script" uid="uid://ewsu4jeim8jy" path="res://scenes/survivor.gd" id="1_q7pxf"] [ext_resource type="Texture2D" uid="uid://c24xx8ghsyijg" path="res://images/survivor.png" id="2_q7pxf"] +[ext_resource type="Texture2D" uid="uid://cq5uwykwt0mpl" path="res://images/shadow.png" id="3_7yc2n"] [sub_resource type="BoxShape3D" id="BoxShape3D_q7pxf"] size = Vector3(0.70355225, 1, 0.5317383) @@ -49,12 +50,18 @@ sprite_frames = SubResource("SpriteFrames_t26pv") autoplay = "default" frame_progress = 0.99938977 +[node name="Sprite3D" type="Sprite3D" parent="Sprite3D" unique_id=448347779] +transform = Transform3D(0.15, 0, 0, 0, 0.014376865, -0.14930944, 0, 0.14930944, 0.014376865, 0, -0.13249628, 0.029169573) +visible = false +billboard = 1 +texture = ExtResource("3_7yc2n") + [node name="Area3D" type="Area3D" parent="." unique_id=1121777394] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" unique_id=1505010263] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.080844045, -0.14428711) shape = SubResource("BoxShape3D_7yc2n") -[node name="ScreamPlayer" type="AudioStreamPlayer3D" parent="."] +[node name="ScreamPlayer" type="AudioStreamPlayer3D" parent="." unique_id=2111590431] [connection signal="area_entered" from="Area3D" to="." method="_on_area_3d_area_entered"] diff --git a/scenes/world.tscn b/scenes/world.tscn index 38a0265..df8e683 100644 --- a/scenes/world.tscn +++ b/scenes/world.tscn @@ -24,7 +24,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.10000013, 0) transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0, 0, 11.696419) [node name="HallBlock2" parent="Hall" unique_id=797565575 instance=ExtResource("1_tlwt5")] -transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -0.00023269653, 0.01109314, 6.0201683) +transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0, 0, 6.02) [node name="HallBlock1" parent="Hall" unique_id=1437187009 instance=ExtResource("1_tlwt5")] transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0, 0, 0.31732297)