Set up shadow for survivors, robot
Added sprite3D shadows to character scenes.
This commit is contained in:
parent
2f6242e2c5
commit
8aa2489e93
7 changed files with 58 additions and 3 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue