all that we can do with this emotion

This commit is contained in:
2023-09-14 02:41:10 -07:00
parent f3528d897c
commit 568eb9e6e0
69 changed files with 5097 additions and 613 deletions

View File

@@ -0,0 +1,32 @@
using Godot;
using System;
public partial class OrbAttack : Projectile
{
[Export]
private Sprite3D _sprite;
public override void _PhysicsProcess(double delta)
{
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);
}
private void ExplodeAttack()
{
}
}