Enemy Damage

This commit is contained in:
MaddoScientisto 2025-06-21 18:54:14 +02:00
commit 7772f69cd3
12 changed files with 207 additions and 12 deletions

View file

@ -62,7 +62,7 @@ public partial class BulletSpawner3D : Node3D
// Optional: Debug offset to visualize all bullets
// bullet.GlobalPosition += new Vector3(i * 0.1f, 0, 0);
GD.Print($"Bullet {i}: Angle={Mathf.RadToDeg(angle)}, Direction={bulletDirection}");
//GD.Print($"Bullet {i}: Angle={Mathf.RadToDeg(angle)}, Direction={bulletDirection}");
}
}

View file

@ -106,7 +106,7 @@ public partial class PreviewMarker3D : Marker3D
if (_sprite is null)
{
GD.Print("Remaking sprite");
//GD.Print("Remaking sprite");
_sprite = new EditorSprite3D();
this.AddChild(_sprite);
//_sprite.Owner = GetTree().EditedSceneRoot;