change ShungiteSpike to explode into 8 darts

issue-templates
John Montagu, the 4th Earl of Sandvich 2024-03-30 20:36:25 -07:00
parent 1c8926a7d8
commit 1261248fc0
1 changed files with 6 additions and 2 deletions

View File

@ -109,9 +109,13 @@ public partial class ShungiteSpike : Projectile
if (!_hasExploded)
{
CreateDart(Vector2.Up);
CreateDart(Vector2.Down);
CreateDart(Vector2.Left);
CreateDart((Vector2.Up + Vector2.Right).Normalized());
CreateDart(Vector2.Right);
CreateDart((Vector2.Down + Vector2.Right).Normalized());
CreateDart(Vector2.Down);
CreateDart((Vector2.Down + Vector2.Left).Normalized());
CreateDart(Vector2.Left);
CreateDart((Vector2.Up + Vector2.Left).Normalized());
AnimationPlayer.Play("explode");
_hasExploded = true;
}