looping music , transition speed up, enemy spped up
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user