added corpses and a wall building dissolve animation

This commit is contained in:
2023-12-10 12:05:41 +11:00
parent adde9f5c3c
commit 046c4f5afb
39 changed files with 596 additions and 112 deletions

25
Scenes/corpse.tscn Normal file
View File

@ -0,0 +1,25 @@
[gd_scene load_steps=4 format=3 uid="uid://canrxnpxcugc2"]
[ext_resource type="Script" path="res://corpse.gd" id="1_hdqtp"]
[ext_resource type="Texture2D" uid="uid://cdnhe2mi5c5ln" path="res://Assets/Textures/dead_eye_dog.png" id="2_6ext7"]
[sub_resource type="SphereShape3D" id="SphereShape3D_shai7"]
[node name="Node3D" type="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
collision_layer = 0
max_contacts_reported = 1
contact_monitor = true
script = ExtResource("1_hdqtp")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_shai7")
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.355108, 0)
pixel_size = 0.04
billboard = 1
texture_filter = 0
texture = ExtResource("2_6ext7")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]