add enemy death animation

This commit is contained in:
2025-10-22 12:30:46 +01:00
parent f9a218159c
commit 4338abab62
8 changed files with 240 additions and 42 deletions

View File

@@ -1,14 +1,8 @@
[gd_scene load_steps=3 format=3 uid="uid://bmv6eq8rt7fsb"]
[gd_scene load_steps=2 format=3 uid="uid://jnqii6cg0cy"]
[ext_resource type="Script" uid="uid://b3mc3t5k3yr7y" path="res://hit_box.gd" id="1_o631b"]
[ext_resource type="AudioStream" uid="uid://bhayvfhydadqy" path="res://assets/sounds/tap.wav" id="2_d7xod"]
[ext_resource type="Script" uid="uid://bdxihdbuhwdbr" path="res://scripts/hit_box.gd" id="1_o631b"]
[node name="HitBox" type="Area2D"]
collision_mask = 2
script = ExtResource("1_o631b")
[node name="HitSound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("2_d7xod")
bus = &"SFX"
[connection signal="body_entered" from="." to="." method="_on_body_entered"]