add enemy death animation
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user