looping music , transition speed up, enemy spped up

This commit is contained in:
GameJammer
2023-09-14 20:47:37 -07:00
parent af3fc06e12
commit 549aa9f7ac
20 changed files with 428 additions and 417 deletions

View File

@@ -8,21 +8,21 @@ public partial class OrbAttack : Projectile
public override void _PhysicsProcess(double delta)
{
var pathFollow = GetNode<PathFollow3D>("PathFollow3D");
if (pathFollow.ProgressRatio <= 0.98f)
{
pathFollow.Progress += Speed * (float)delta;
}
else
{
ExplodeAttack();
}
var pathFollow = GetNode<PathFollow3D>("PathFollow3D");
if (pathFollow.ProgressRatio <= 0.98f)
{
pathFollow.Progress += Speed * (float)delta;
}
else
{
ExplodeAttack();
}
}
public override void _Process(double delta)
{
if (!IsQueuedForDeletion())
_sprite.RotateY(25);
if (!IsQueuedForDeletion())
_sprite.RotateY(25);
}
private void ExplodeAttack()