Added enemy animations

This commit is contained in:
2026-01-08 14:36:37 +03:00
parent e3d0dfb674
commit 4528b4a61a
6 changed files with 153 additions and 5 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ shape = SubResource("RectangleShape2D_u7b5a")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
material = ExtResource("1_xelsh")
sprite_frames = SubResource("SpriteFrames_r8rhb")
animation = &"closing"
animation = &"closed"
[connection signal="body_entered" from="Area2D" to="." method="_on_area_entered"]
[connection signal="body_exited" from="Area2D" to="." method="_on_area_exited"]