Explosion sprites and lifetime

This commit is contained in:
Marco 2025-02-20 12:17:21 +01:00
commit a0b5cedff9
10 changed files with 102 additions and 18 deletions

View file

@ -251,7 +251,7 @@ public partial class Enemy : CharacterBody2D
if (bullet.BulletInfo.Owner == BulletOwner.Enemy) return;
this.Hit(bullet.Damage);
bullet.QueueFree();
bullet.RequestCollisionDestruction();
}
// Bullets collision