mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Generic enemies
This commit is contained in:
parent
762666242e
commit
d99c773641
55 changed files with 968 additions and 204 deletions
|
|
@ -6,6 +6,7 @@ using Godot.Collections;
|
|||
namespace Cirno.Scripts.AttackPatterns;
|
||||
|
||||
[GlobalClass]
|
||||
[Tool]
|
||||
public partial class CreateEmitterPattern : AttackPattern
|
||||
{
|
||||
[Export] public Vector2 SpawnOffset { get; set; }
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ using Godot;
|
|||
namespace Cirno.Scripts.AttackPatterns;
|
||||
|
||||
[GlobalClass]
|
||||
[Tool]
|
||||
public partial class LaserPattern : SpiralPattern
|
||||
{
|
||||
[ExportGroup("Laser")][Export] public float SpawnDelay { get; set; } = 0.3f; // Delay before beam appears
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ using Godot;
|
|||
namespace Cirno.Scripts.AttackPatterns;
|
||||
|
||||
[GlobalClass]
|
||||
[Tool]
|
||||
public partial class MovementPattern : AttackPattern
|
||||
{
|
||||
[Export] public Vector2 relativeTargetPosition;
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ using GTweensGodot.Extensions;
|
|||
namespace Cirno.Scripts.AttackPatterns;
|
||||
|
||||
[GlobalClass]
|
||||
[Tool]
|
||||
public partial class NodeMovementPattern : AttackPattern
|
||||
{
|
||||
[Export] private Vector2 relativeTargetPosition;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ using Array = System.Array;
|
|||
namespace Cirno.Scripts.AttackPatterns;
|
||||
|
||||
[GlobalClass]
|
||||
[Tool]
|
||||
public partial class SpiralPattern : AttackPattern
|
||||
{
|
||||
[Export] public BulletResource BulletResource { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue