change ShungiteSpike to explode into 8 darts
parent
1c8926a7d8
commit
1261248fc0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue